File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
conda/recipes/nightly/sofa-app Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 11setlocal EnableDelayedExpansion
22@ echo on
33
4+ :: SceneChecking application
5+ rmdir /S /Q build-scene-checking
6+
7+ mkdir build-scene-checking
8+ cd build-scene-checking
9+
10+ :: Configure
11+ cmake %CMAKE_ARGS% ^
12+ -B . ^
13+ -S %SRC_DIR% \applications\projects\SceneChecking ^
14+ -G Ninja ^
15+ -DCMAKE_BUILD_TYPE:STRING=Release
16+ if errorlevel 1 exit 1
17+
18+ :: Build.
19+ cmake --build . --parallel " %CPU_COUNT% "
20+ if errorlevel 1 exit 1
21+
22+ :: Install.
23+ cmake --build . --parallel " %CPU_COUNT% " --target install
24+ if errorlevel 1 exit 1
25+
426:: runSofa application
527rmdir /S /Q build-sofa-app
628
Original file line number Diff line number Diff line change @@ -8,6 +8,28 @@ if [[ $target_platform == osx* ]] ; then
88 CXXFLAGS=" ${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
99fi
1010
11+ # SceneChecking application
12+ # ----------
13+ rm -rf build-scene-checking
14+
15+ mkdir build-scene-checking
16+ cd build-scene-checking
17+
18+ # We have to manually set the Rpath for other SOFA libs to the lib/ directory using
19+ # the CMAKE_INSTALL_RPATH cmake variable, as SOFA CMakeLists are not designed
20+ # initially for a per-component compilation & installation
21+ cmake ${CMAKE_ARGS} \
22+ -B . \
23+ -S ../applications/projects/SceneChecking/ \
24+ -DCMAKE_BUILD_TYPE:STRING=Release \
25+ -DCMAKE_INSTALL_RPATH:PATH=${PREFIX} /lib
26+
27+ # build
28+ cmake --build . --parallel ${CPU_COUNT}
29+
30+ # install
31+ cmake --build . --parallel ${CPU_COUNT} --target install
32+
1133# runSofa application
1234# ----------
1335rm -rf build-sofa-app
You can’t perform that action at this time.
0 commit comments