This commit is contained in:
parent
244b223cde
commit
538ec5419d
1 changed files with 6 additions and 0 deletions
|
|
@ -251,6 +251,8 @@ namespace Crafter {
|
|||
command += std::format(" --sysroot={} -fno-exceptions -fno-c++-static-destructors", (exeDir/"wasi-sysroot-28.0").string());
|
||||
}
|
||||
|
||||
|
||||
|
||||
for(const Define& define : config.defines) {
|
||||
if(define.value.empty()) {
|
||||
command += std::format(" -D {}", define.name);
|
||||
|
|
@ -277,6 +279,10 @@ namespace Crafter {
|
|||
pcmDir = buildDir;
|
||||
}
|
||||
|
||||
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
|
||||
command += "-D _CRT_SECURE_NO_WARNINGS"
|
||||
#endif
|
||||
|
||||
command += std::format(" -fprebuilt-module-path={}", pcmDir.string());
|
||||
|
||||
std::string cmakeBuildType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue