This commit is contained in:
parent
6118ade781
commit
81512e8e9b
2 changed files with 2 additions and 2 deletions
|
|
@ -43,4 +43,4 @@ clang++ %useLibcLinker% -std=c++26 -O3 -march=native -mtune=native -L.\build -fu
|
||||||
|
|
||||||
copy %LIBCXX_DIR%\lib\c++.dll \bin\executable-windows-msvc\c++.dll
|
copy %LIBCXX_DIR%\lib\c++.dll \bin\executable-windows-msvc\c++.dll
|
||||||
xcopy "binlib\*" "bin\" /E /I /Y /Q
|
xcopy "binlib\*" "bin\" /E /I /Y /Q
|
||||||
@REM rmdir /S /Q "build"
|
rmdir /S /Q "build"
|
||||||
|
|
@ -475,7 +475,7 @@ namespace Crafter {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
|
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
|
||||||
system("copy %LIBCXX_DIR%\\lib\\c++.dll \\bin\\executable-windows-msvc\\c++.dll");
|
system("copy %LIBCXX_DIR%\\lib\\c++.dll .\\bin\\executable-windows-msvc\\c++.dll");
|
||||||
buildResult.errors = RunClang(std::format("{}{} -o {} -fuse-ld=lld -L %LIBCXX_DIR%\\lib -lc++ -nostdinc++ -nostdlib++", command, files, (binDir/outputName).string()));
|
buildResult.errors = RunClang(std::format("{}{} -o {} -fuse-ld=lld -L %LIBCXX_DIR%\\lib -lc++ -nostdinc++ -nostdlib++", command, files, (binDir/outputName).string()));
|
||||||
#endif
|
#endif
|
||||||
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue