This commit is contained in:
parent
16249ecff1
commit
6cdbe1681c
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ git clone https://github.com/KhronosGroup/glslang.git .\build\glslang
|
||||||
|
|
||||||
cd .\build\glslang
|
cd .\build\glslang
|
||||||
|
|
||||||
set useLibc=-nostdinc++ -nostdlib++ -isystem %LIBC_DIR%\include\c++\v1 -L %LIBC_DIR%\lib -lc++
|
set useLibc=-nostdinc++ -nostdlib++ -isystem %LIBCXX_DIR%\include\c++\v1 -L %LIBCXX_DIR%\lib -lc++
|
||||||
set buildDir=%CD%\build
|
set buildDir=%CD%\build
|
||||||
|
|
||||||
cmake -G Ninja -B %buildDir% -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 %buildDir% -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue