mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00

* Initial commit for the builder
* fix wx, use hack to install into /app
* add some workarounds for /usr/local
* fix up rest of paths
* attempt to fix wxwebview undef
* figure out why wxwidgets isnt getting its patches applied
* do "proper" patching of wxwidgets
* Flip the flag
* actually append the /usr/local
* restrict package finding to flatpak only
* Update the destdir stuff for mpfr, gmp
* Transfer over all the _destdir, again
* update patch command for all other plats
* initial ci check
* what even happened
* clear ci image
* I doubt this will do anything
* do cleanup after running each step
* remove build objects for flatpak ci
* compress debug info
* Fix MacOS build
* Try saving space after building deps
* No debug info for now
* Do debug info, use thin static archives
* use BSD flag, not --thin
* try building with lto
* Use release, no debug info
* remove lto
* Revert the last 5 commits
* It might require write perms
* Revert "It might require write perms"
This reverts commit 44cec58a57
.
* Import fixes for merge
* remove some patch stuff
* the worst hack!
* remove uneeded patches
* Initial commit for the builder
* note to self, go back to regular wx
* attempt to fix wxwebview undef
* do "proper" patching of wxwidgets
* update patch command for all other plats
* what even happened
* -ldep_name-NOTFOUND is still here
* concat patches
* Build wx with flatpak
* more wx shenatigans
* fix a missing import
* build wx with proper flags
* fix imports and libs
* trigger ci
* try fixing mac and windows ci
* remove duplicate definition of freetype
* curl may not have openssl for a dep
* has openssl been found?
* force building
* build images on apple
* cleanup for review
* cleanup cmake files
---------
Co-authored-by: SoftFever <softfeverever@gmail.com>
34 lines
1.2 KiB
CMake
34 lines
1.2 KiB
CMake
if(WIN32)
|
|
set(library_build_type "Shared")
|
|
else()
|
|
set(library_build_type "Static")
|
|
endif()
|
|
|
|
|
|
# get relative path of CMAKE_BINARY_DIR against root source directory
|
|
file(RELATIVE_PATH BINARY_DIR_REL ${CMAKE_SOURCE_DIR}/.. ${CMAKE_BINARY_DIR})
|
|
|
|
orcaslicer_add_cmake_project(OCCT
|
|
URL https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_6_0.zip
|
|
URL_HASH SHA256=28334f0e98f1b1629799783e9b4d21e05349d89e695809d7e6dfa45ea43e1dbc
|
|
#PATCH_COMMAND ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/0001-OCCT-fix.patch
|
|
PATCH_COMMAND git apply --directory ${BINARY_DIR_REL}/dep_OCCT-prefix/src/dep_OCCT --verbose --ignore-space-change --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-OCCT-fix.patch
|
|
#DEPENDS dep_Boost
|
|
DEPENDS ${FREETYPE_PKG}
|
|
CMAKE_ARGS
|
|
-DBUILD_LIBRARY_TYPE=${library_build_type}
|
|
-DUSE_TK=OFF
|
|
-DUSE_TBB=OFF
|
|
#-DUSE_FREETYPE=OFF
|
|
-DUSE_FFMPEG=OFF
|
|
-DUSE_VTK=OFF
|
|
-DBUILD_MODULE_ApplicationFramework=OFF
|
|
#-DBUILD_MODULE_DataExchange=OFF
|
|
-DBUILD_MODULE_Draw=OFF
|
|
-DBUILD_MODULE_FoundationClasses=OFF
|
|
-DBUILD_MODULE_ModelingAlgorithms=OFF
|
|
-DBUILD_MODULE_ModelingData=OFF
|
|
-DBUILD_MODULE_Visualization=OFF
|
|
)
|
|
|
|
# add_dependencies(dep_OCCT ${FREETYPE_PKG})
|