Commit graph

16 commits

Author SHA1 Message Date
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
SoftFever
f020480900
Revamp OrcaSlicer updater (#10884)
* Revamp OrcaSlicer updater
2025-09-28 10:33:33 +08:00
SoftFever
883607e1d4
Refactor folder (#10475)
Move many third-party components' source codes from the src folder to a new folder called deps_src. The goal is to make the code structure clearer and easier to navigate.
2025-08-22 20:02:26 +08:00
tsmith35
5524d9db53
Update build_release.bat (#3961)
Missing double-quotes after "Visual Studio 16 2019
on lines 32, 33, 44 and 45.
2024-02-10 10:24:28 +08:00
Ocraftyone
c4a66f36ae
Debug Improvments on Windows (#3275)
* fix assert statements

* Add ORCA_INCLUDE_DEBUG_INFO to deps cmake

adds option ORCA_INCLUDE_DEBUG_INFO to deps build script to allow an alternative for RelWithDebInfo that works on windows

* add build type option to windows script

* update .gitignore to include build*
2024-01-24 11:48:14 +00:00
Noisyfox
7a8f020fcf
Fix issue that cmake install is skipped during windows build (#2029)
Fix windows build
2023-09-07 23:50:35 +08:00
SoftFever
76d59ac033 Life saver: update locale generation 2023-09-05 22:36:29 +08:00
SoftFever
b396f55ddc don't force build debug version of boost on Windows 2023-08-10 10:56:12 +08:00
SoftFever
81ca7720e9 change BambuStudio to OrcaSlicer 2023-03-10 19:26:01 +08:00
SoftFever
20f2b2cd0e OrcaSlicer 2023-03-10 18:58:43 +08:00
SoftFever
96c861f906
CICD (#167)
CICD
2023-01-12 22:55:50 +08:00
SoftFever
8d482eddd3 fix profile syncing issue
#74
2022-12-30 15:45:15 +08:00
SoftFever
8c46a57036 wip 2022-12-22 16:09:03 +08:00
SoftFever
644742133e fix crash when there are unicode string in the model path 2022-10-26 21:23:51 +08:00
SoftFever
ef16c373de update build script 2022-07-19 06:27:26 -07:00
SoftFever
558b650add add build scripts 2022-07-19 06:27:26 -07:00