diff --git a/build.cmd b/build.cmd index 761dbd1..687515f 100644 --- a/build.cmd +++ b/build.cmd @@ -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 xcopy "binlib\*" "bin\" /E /I /Y /Q -@REM rmdir /S /Q "build" \ No newline at end of file +rmdir /S /Q "build" \ No newline at end of file diff --git a/implementations/Crafter.Build-Project.cpp b/implementations/Crafter.Build-Project.cpp index 37944f7..46ddac0 100644 --- a/implementations/Crafter.Build-Project.cpp +++ b/implementations/Crafter.Build-Project.cpp @@ -475,7 +475,7 @@ namespace Crafter { #endif #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())); #endif } else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {