Skip to content

Commit

Permalink
try to fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbrech committed Nov 20, 2024
1 parent efb05c8 commit ae935a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cpacscreator/bld.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
mkdir build
cd build

REM We need own flags as conda turns on program size optimization
REM which ends up in huge static library sizes
set CFLAGS=
set CXXFLAGS=

REM Configure step
cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
-DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^
-DCMAKE__STATIC_LINKER_FLAGS="/LTCG" ^
-DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^
-DTIGL_VIEWER=ON ^
-DTIGL_BINDINGS_PYTHON_INTERNAL=ON ^
Expand Down

0 comments on commit ae935a9

Please sign in to comment.