File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 - name : Install C++ dependencies
5656 run : |
5757 sudo apt update
58+ # `occt-misc` is only needed for 22.04, since it has cmake configs.
59+ # In 24.04+, the needed files were moved `libocct-foundation-dev` and `occt-misc` can be removed.
60+ # Other libs in `OCCT_CMAKE_DEPS` are needed only for cmake config to work properly, they're not used directly.
61+ OCCT_CMAKE_DEPS="occt-misc libocct-draw-dev tcl-dev tk-dev libxi-dev"
62+
5863 sudo apt-get install --no-install-recommends \
5964 git cmake gcc g++ \
6065 libboost-date-time-dev \
6772 libpcre3-dev libxml2-dev \
6873 libtbb-dev nlohmann-json3-dev \
6974 libocct-foundation-dev libocct-modeling-algorithms-dev libocct-modeling-data-dev libocct-ocaf-dev libocct-visualization-dev libocct-data-exchange-dev \
75+ ${OCCT_CMAKE_DEPS} \
7076 libhdf5-dev libcgal-dev libeigen3-dev
7177
7278 - name : ccache
@@ -209,8 +215,8 @@ jobs:
209215 cmake .. -DCMAKE_BUILD_TYPE=Release
210216 cmake --build .
211217 ./IfcParseExamples "../IfcParseExamples_test.ifc"
212- # ./IfcOpenHouse
213- # ./IfcAdvancedHouse
218+ ./IfcOpenHouse
219+ ./IfcAdvancedHouse
214220 ./IfcAlignment
215221 ./IfcSimplifiedAlignment
216222
Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ if(SCHEMA_VERSIONS MATCHES "2x3")
5555 endif ()
5656 install (TARGETS IfcParseExamples)
5757
58- # TODO: enable after figuring out where to get get OCCT config for CI.
59- if (WITH_OPENCASCADE AND NOT STANDALONE_PROJECT)
58+ if (WITH_OPENCASCADE)
6059 add_executable (IfcOpenHouse IfcOpenHouse.cpp )
6160 add_executable (IfcAdvancedHouse IfcAdvancedHouse.cpp )
6261 add_library (IfcHouseInterface INTERFACE )
You can’t perform that action at this time.
0 commit comments