This commit is contained in:
parent
19cfbdbb13
commit
5b0df7af1a
1 changed files with 2 additions and 2 deletions
|
|
@ -135,11 +135,11 @@ namespace Crafter {
|
||||||
std::string stdPcm = std::format("{}\\{}\\std.pcm", exeDir.string(), config.target);
|
std::string stdPcm = std::format("{}\\{}\\std.pcm", exeDir.string(), config.target);
|
||||||
std::cout << "3" << std::endl;
|
std::cout << "3" << std::endl;
|
||||||
std::string stdcppm = std::format("{}\\modules\\c++\v1\\std.cppm", libcxx);
|
std::string stdcppm = std::format("{}\\modules\\c++\v1\\std.cppm", libcxx);
|
||||||
std::cout << "4" << std::endl;
|
std::cout << stdcppm << std::endl;
|
||||||
|
|
||||||
if(!fs::exists(stdPcm) || fs::last_write_time(stdPcm) < fs::last_write_time(stdcppm)) {
|
if(!fs::exists(stdPcm) || fs::last_write_time(stdPcm) < fs::last_write_time(stdcppm)) {
|
||||||
std::cout << "5" << std::endl;
|
std::cout << "5" << std::endl;
|
||||||
std::string result = RunCommand(std::format("clang++ --target={} -march=native -mtune=native -isystem %LIBCXX_DIR%\\include\\c++\\v1 -nostdinc++ -nostdlib++ -std=c++26 -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile %LIBCXX_DIR%\\modules\\c++\v1\\std.cppm -o {}", config.target, stdPcm));
|
std::string result = RunCommand(std::format("clang++ --target={} -march=native -mtune=native -isystem %LIBCXX_DIR%\\include\\c++\\v1 -nostdinc++ -nostdlib++ -std=c++26 -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile %LIBCXX_DIR%\\modules\\c++\\v1\\std.cppm -o {}", config.target, stdPcm));
|
||||||
std::cout << "6" << std::endl;
|
std::cout << "6" << std::endl;
|
||||||
if(result != "") {
|
if(result != "") {
|
||||||
std::cout << result << std::endl;
|
std::cout << result << std::endl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue