This commit is contained in:
parent
5cbc0d4ee8
commit
0f4314848c
2 changed files with 3 additions and 1 deletions
|
|
@ -163,7 +163,9 @@ namespace Crafter {
|
|||
throw std::runtime_error(result);
|
||||
}
|
||||
result = RunCommand(std::format("cd {}\\{} && \"{}\\cl.exe\" /std:c++latest /EHsc /nologo /W4 /MD /c {}", exeDir.string(), config.target, clDir, sourceFilePath));
|
||||
std::cout << std::format("cd {}\\{} && \"{}\\cl.exe\" /std:c++latest /EHsc /nologo /W4 /MD /c {}", exeDir.string(), config.target, clDir, sourceFilePath) << std::endl;
|
||||
std::cout << result << std::endl;
|
||||
std::cout << "hello?" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -470,7 +470,7 @@ namespace Crafter {
|
|||
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\" {} {} {}\\{}\\std.o msvcrt.lib kernel32.lib user32.lib /OUT:{}.exe", clDir, libPath, files, exeDir.string(), config.target (binDir/outputName).string()));
|
||||
#endif
|
||||
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
||||
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue