This commit is contained in:
parent
11923c467e
commit
19b27e5f6f
1 changed files with 2 additions and 2 deletions
|
|
@ -470,7 +470,7 @@ namespace Crafter {
|
||||||
libPath += std::format(" /LIBPATH:{}", lib);
|
libPath += std::format(" /LIBPATH:{}", lib);
|
||||||
}
|
}
|
||||||
|
|
||||||
buildResult.errors = RunCommand(std::format("\"{}link.exe\" {} {} .\\build\\std.o msvcrt.lib kernel32.lib user32.lib /OUT:{}.exe", clDir libPath, files, (binDir/outputName).string()));
|
buildResult.errors = RunCommand(std::format("\"{}\\link.exe\" {} {} .\\build\\std.o msvcrt.lib kernel32.lib user32.lib /OUT:{}.exe", clDir libPath, files, (binDir/outputName).string()));
|
||||||
#endif
|
#endif
|
||||||
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
||||||
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
||||||
|
|
@ -478,7 +478,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)
|
||||||
RunCommandIgnore(std::format("\"{}lib.exe\" {} /OUT:{}.lib", clDir, files, (binDir/fs::path(outputName)).string()));
|
RunCommandIgnore(std::format("\"{}\\lib.exe\" {} /OUT:{}.lib", clDir, files, (binDir/fs::path(outputName)).string()));
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue