OrcaSlicer/deps
Ocraftyone 026499c5b7
Better CMake Defaults (#10294)
* Auto generate CMAKE_PREFIX_PATH/DESTDIR

* Auto set CMAKE_INSTALL_PREFIX

* Always default SLIC3R_STATIC to on

* Only allow one value for CMAKE_OSX_ARCHITECTURES

* Set arch for OpenSSL from CMAKE_OSX_ARCHITECTURES

* Set CMAKE_INSTALL_RPATH from CMAKE_PREFIX_PATH

* Default CMAKE_MACOSX_RPATH and CMAKE_MACOSX_BUNDLE to on

* Auto set BBL_RELEASE_TO_PUBLIC based on build config

* Default to GTK 3

* Fix linux debug build

Update find modules to also look for the debug variant of the libraries

* Set DEP_DEBUG and ORCA_INCLUDE_DEBUG_INFO based on CMAKE_BUILD_TYPE

* Add a fallback value for Windows SDK if the env variables are not set

* Reflect CMake changes in the build scripts

* Add missing line

* Fix auto setting DEP_DEBUG and ORCA_INCLUDE_DEBUG_INFO

* Update dep folder name for linux in GH actions

* Invert dep-folder-name conditions

`''` is considered a falsy value, which was causing the value to always be set to 'OrcaSlicer_dep'

* Properly handle finding the debug version of libnoise

* Convert FindNLopt.cmake to a config mode wrapper

* Use separate build directory for debug builds on Linux

* Move find_package for libnoise

* Cleanup and improve linux build script

- Add dry run
- Add build in RelWithDebInfo
- Add function to print and run commands

* Remove linux destdir deprecation and cleanup

* Fix flatpak build

* Disable fail fast for flatpak builds

* Flatpak improvements

- Build wxWidgets using deps cmake
- Improve handling of space freeing commands while building deps
- Allow cmake to directly download deps
- Set needed flags within cmake instead of the build manifest

* Print clean build commands

* Implement shellcheck recommendations

* Cleanup

* Fix CMakeLists.txt syntax by replacing empty elseif with else statement

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 22:05:09 +08:00
..
Blosc clean up 2023-08-09 13:42:41 +08:00
Boost Feature/update deps (#3445) 2024-01-04 19:36:04 +08:00
Cereal Port Emboss & SVG gizmo from PrusaSlicer (#2819) 2023-12-09 22:46:18 +08:00
CGAL Fix Xcode 16.3 build (#9422) 2025-05-01 17:09:45 +08:00
CURL Flatpak build (#4175) 2024-05-25 09:11:19 +08:00
EXPAT Merge branch 'v1.7.2-remote' 2023-09-29 19:46:49 +08:00
FREETYPE Fix broken freetype-2.12.1.tar.gz link 2025-08-02 17:23:26 +08:00
GLEW remove OSMesa (#9708) 2025-06-15 14:53:42 +08:00
GLFW clean up 2023-08-09 13:42:41 +08:00
GMP Replace DEPS_BITS with DEPS_ARCH (#10183) 2025-07-23 19:17:05 +08:00
JPEG upgrade libjpeg-turbo to 3.0.1 to properly suppor cross compile 2023-12-27 17:01:12 +08:00
libnoise Add support for structured noise (perlin) fuzzy skin (#7678) 2025-01-27 22:45:16 +08:00
MPFR Replace DEPS_BITS with DEPS_ARCH (#10183) 2025-07-23 19:17:05 +08:00
NanoSVG Fix unicode path for nanosvg (#3179) 2023-12-19 11:15:44 +08:00
NLopt clean up 2023-08-09 13:42:41 +08:00
OCCT Various flatpak fixes and improvements (#9527) 2025-06-15 12:10:51 +08:00
OpenCSG clean up 2023-08-09 13:42:41 +08:00
OpenCV Fix timelapse crash 2025-10-05 16:06:55 +08:00
OpenEXR Flatpak build (#4175) 2024-05-25 09:11:19 +08:00
OpenSSL Better CMake Defaults (#10294) 2025-10-25 22:05:09 +08:00
OpenVDB Fix Xcode 16.3 build (#9422) 2025-05-01 17:09:45 +08:00
PNG Fix Xcode 16.3 build (#9422) 2025-05-01 17:09:45 +08:00
Qhull clean up 2023-08-09 13:42:41 +08:00
TBB Flatpak build (#4175) 2024-05-25 09:11:19 +08:00
WebView2 Update WebView2 to 1.0.3351.48 (#10239) 2025-08-11 13:44:01 +08:00
wxWidgets Better CMake Defaults (#10294) 2025-10-25 22:05:09 +08:00
ZLIB Merge branch 'v1.7.2-remote' 2023-09-29 19:46:49 +08:00
CMakeLists.txt Better CMake Defaults (#10294) 2025-10-25 22:05:09 +08:00
deps-linux.cmake Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
deps-macos.cmake Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
deps-mingw.cmake Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
deps-unix-common.cmake Add the full source of BambuStudio 2022-07-15 23:42:08 +08:00
deps-windows.cmake Replace DEPS_BITS with DEPS_ARCH (#10183) 2025-07-23 19:17:05 +08:00