This commit is contained in:
parent
8c80cab079
commit
a5e08a0c5b
2 changed files with 2 additions and 4 deletions
|
|
@ -475,9 +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("echo %LIBCXX_DIR%\\lib\\c++.dll");
|
||||
std::cout << std::format("{}\\c++.dll", binDir.string()).c_str() << std::endl;
|
||||
system(std::format("copy %LIBCXX_DIR%\\lib\\c++.dll {}\\c++.dll", binDir.string()).c_str());
|
||||
system(std::format("copy \"%LIBCXX_DIR%\\lib\\c++.dll\" \"{}\\c++.dll\"", binDir.string()).c_str());
|
||||
buildResult.errors = RunClang(std::format("{}{} -o {}.exe -fuse-ld=lld -L %LIBCXX_DIR%\\lib -lc++ -nostdinc++ -nostdlib++", command, files, (binDir/outputName).string()));
|
||||
#endif
|
||||
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue