This commit is contained in:
parent
d05703792d
commit
4f6c3c009c
2 changed files with 3 additions and 0 deletions
|
|
@ -154,6 +154,8 @@ namespace Crafter {
|
||||||
|
|
||||||
std::string sourceFilePath = directoryPath + "\\" + msvcVersion + "\\modules\\std.ixx";
|
std::string sourceFilePath = directoryPath + "\\" + msvcVersion + "\\modules\\std.ixx";
|
||||||
|
|
||||||
|
std::println("Auto-Detected:\nCL: {}Clang: {}\nstd.ixx: {}", clDir, clangClDir, sourceFilePath);
|
||||||
|
|
||||||
if(!fs::exists(stdPcm) || fs::last_write_time(stdPcm) < fs::last_write_time(sourceFilePath)) {
|
if(!fs::exists(stdPcm) || fs::last_write_time(stdPcm) < fs::last_write_time(sourceFilePath)) {
|
||||||
fs::copy(sourceFilePath, stdcppm, fs::copy_options::overwrite_existing);
|
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-reserved-identifier -Wno-reserved-module-identifier --precompile std.cppm -o std.pcm", exeDir.string(), config.target, clangClDir, stdPcm));
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ namespace Crafter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
std::cout << "bruh" << std::endl;
|
||||||
if(config.contains("name")) {
|
if(config.contains("name")) {
|
||||||
name = config["name"].get<std::string>();
|
name = config["name"].get<std::string>();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue