diff --git a/build.ps1 b/build.ps1 index a69b823..a45efe4 100644 --- a/build.ps1 +++ b/build.ps1 @@ -35,7 +35,7 @@ $vulkanSDKPath = Join-Path -Path $vulkanBasePath -ChildPath (Join-Path -Path $la clang++ -std=c++26 -I"$vulkanSDKPath" -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile .\build/std.cppm -o .\build/std.pcm clang++ -std=c++26 -I"$vulkanSDKPath" --precompile -fprebuilt-module-path=".\build" interfaces\Crafter.Build-CompileStatus.cppm -o .\build\Crafter.Build-CompileStatus.pcm -clang++ -std=c++26 -I"$vulkanSDKPath" --precompile -fprebuilt-module-path=".\build" -D PLATFORM_WINDOWS interfaces\Crafter.Build-Command.cppm -o .\build\Crafter.Build-Command.pcm +clang++ -std=c++26 -I"$vulkanSDKPath" --precompile -fprebuilt-module-path=".\build" interfaces\Crafter.Build-Command.cppm -o .\build\Crafter.Build-Command.pcm clang++ -std=c++26 -I"$vulkanSDKPath" --precompile -fprebuilt-module-path=".\build" interfaces\Crafter.Build-Shader.cppm -o .\build\Crafter.Build-Shader.pcm clang++ -std=c++26 -I"$vulkanSDKPath" --precompile -fprebuilt-module-path=".\build" interfaces\Crafter.Build-Module.cppm -o .\build\Crafter.Build-Module.pcm clang++ -std=c++26 -I"$vulkanSDKPath" --precompile -fprebuilt-module-path=".\build" interfaces\Crafter.Build-Implementation.cppm -o .\build\Crafter.Build-Implementation.pcm @@ -54,7 +54,7 @@ clang++ -std=c++26 -O3 -fprebuilt-module-path=".\build" -c .\build\Crafter.Build clang++ -std=c++26 -O3 -fprebuilt-module-path=".\build" -c .\build\Crafter.Build-CompileStatus.pcm -o .\build\Crafter.Build-CompileStatus.o clang++ -std=c++26 -O3 -fprebuilt-module-path=".\build" -c .\build\Crafter.Build.pcm -o .\build\Crafter.Build.o -clang++ -std=c++26 -I"$vulkanSDKPath" -O3 -fprebuilt-module-path=".\build" -c .\implementations\Crafter.Build-Command.cpp -o .\build\Crafter.Build-Command_impl.o +clang++ -std=c++26 -I"$vulkanSDKPath" -O3 -fprebuilt-module-path=".\build" -D PLATFORM_WINDOWS -c .\implementations\Crafter.Build-Command.cpp -o .\build\Crafter.Build-Command_impl.o clang++ -std=c++26 -I"$vulkanSDKPath" -O3 -fprebuilt-module-path=".\build" -c .\implementations\Crafter.Build-Test.cpp -o .\build\Crafter.Build-Test_impl.o clang++ -std=c++26 -I"$vulkanSDKPath" -O3 -fprebuilt-module-path=".\build" -c .\implementations\Crafter.Build-Implementation.cpp -o .\build\Crafter.Build-Implementation_impl.o clang++ -std=c++26 -I"$vulkanSDKPath" -O3 -fprebuilt-module-path=".\build" -c .\implementations\Crafter.Build-Shader.cpp -o .\build\Crafter.Build-Shader_impl.o