This commit is contained in:
parent
275dbd0ff3
commit
5cbc0d4ee8
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ namespace Crafter {
|
|||
|
||||
if(!fs::exists(stdPcm) || fs::last_write_time(stdPcm) < fs::last_write_time(sourceFilePath)) {
|
||||
fs::copy(sourceFilePath, stdcppm, fs::copy_options::overwrite_existing);
|
||||
std::string result = RunCommand(std::format("cd {}\\{} && \"{}\\clang-cl.exe\" /EHsc /MD /std:c++latest --target=x86_64-pc-windows-msvc -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile std.cppm -o std.pcm", exeDir.string(), config.target, clangClDir, stdPcm));
|
||||
std::string result = RunCommand(std::format("cd {}\\{} && \"{}\\clang-cl.exe\" /EHsc /MD /std:c++latest --target=x86_64-pc-windows-msvc -Wno-include-angled-in-module-purview -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile std.cppm -o std.pcm", exeDir.string(), config.target, clangClDir, stdPcm));
|
||||
if(result != "") {
|
||||
std::cout << result << std::endl;
|
||||
throw std::runtime_error(result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue