Skip to content

Commit fe978e9

Browse files
committed
update build script
1 parent c82cad3 commit fe978e9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build_occt.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ then
1212
cd ..
1313
fi
1414

15+
export INSTALL_DIR=`pwd`/dist/occt-7.2.0
16+
1517
mkdir -p build_linux
1618
cd build_linux
1719
export CCACHE_SLOPPINESS="pch_defines;time_macros"
1820

19-
cmake -DINSTALL_DIR:STRING="../dist/occt-7.2.0" \
21+
cmake -DINSTALL_DIR:STRING="${INSTALL_DIR}" \
2022
-DCMAKE_SUPPRESS_REGENERATION:BOOL=ON \
2123
-DBUILD_USE_PCH:BOOLEAN=ON \
24+
-DUSE_TBB:BOOLEAN=ON \
2225
-DBUILD_SHARED_LIBS:BOOL=OFF \
2326
-DBUILD_TESTING:BOOLEAN=OFF \
2427
-DBUILD_MODULE_ApplicationFramework:BOOLEAN=OFF \

0 commit comments

Comments
 (0)