This commit is contained in:
parent
097ab7ae0c
commit
3a0e411c33
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ cd .\build\glslang
|
|||
$useLibc = "-nostdinc++ -nostdlib++ -isystem $env:LIBC_DIR\include\c++\v1 -L $env:LIBC_DIR\lib -lc++"
|
||||
|
||||
$buildDir = "$($PWD.Path)\build"
|
||||
cmake -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="$useLibc" -DCMAKE_EXE_LINKER_FLAGS="$useLibc" -DCMAKE_SHARED_LINKER_FLAGS="$useLibc" -DCMAKE_BUILD_TYPE=Release -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY="$buildDir" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$buildDir" -DENABLE_OPT=OFF
|
||||
cmake -G Ninja -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="$useLibc" -DCMAKE_EXE_LINKER_FLAGS="$useLibc" -DCMAKE_SHARED_LINKER_FLAGS="$useLibc" -DCMAKE_BUILD_TYPE=Release -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY="$buildDir" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$buildDir" -DENABLE_OPT=OFF
|
||||
cmake --build build --config Release
|
||||
cd ..\..\
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue