Skip to content

Commit

Permalink
Cleanup and install location fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-urbanczyk committed Apr 1, 2020
1 parent 103c1a9 commit ba7a0b2
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
dir
rmdir /S /Q data
rmdir /S /Q dox
rmdir /S /Q samples
df -h

REM Remove /GL to make this build fit 10G
set "CXXFLAGS=%CXXFLAGS:-GL=%"

cmake -S . -B build -G Ninja ^
-D CMAKE_INSTALL_PREFIX:FILEPATH=$PREFIX ^
-D CMAKE_PREFIX_PATH:FILEPATH=$PREFIX ^
-D 3RDPARTY_DIR:FILEPATH=$PREFIX ^
-D CMAKE_INSTALL_PREFIX:FILEPATH=%PREFIX% ^
-D CMAKE_PREFIX_PATH:FILEPATH=%PREFIX% ^
-D 3RDPARTY_DIR:FILEPATH=%PREFIX% ^
-D BUILD_MODULE_Draw:BOOL=OFF ^
-D USE_TBB:BOOL=ON ^
-D CMAKE_BUILD_TYPE:STRING="Release" ^
Expand All @@ -19,6 +14,5 @@ cmake -S . -B build -G Ninja ^
if errorlevel 1 exit 1

cmake --build build -- -v install
df -h
bash -c "find -iname \*.cxx.obj -exec ls -lh {} \; ;"

if errorlevel 1 exit 1

0 comments on commit ba7a0b2

Please sign in to comment.