This commit is contained in:
parent
714e82daa9
commit
c4686ae1cc
5 changed files with 159 additions and 42 deletions
|
|
@ -58,7 +58,12 @@ namespace Crafter {
|
|||
if(config.contains("standard")) {
|
||||
standard = config["standard"].get<std::string>();
|
||||
} else {
|
||||
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
||||
standard = "c++26";
|
||||
#endif
|
||||
#if defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_windows_msvc) || defined(CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32)
|
||||
standard = "c++latest";
|
||||
#endif
|
||||
}
|
||||
if(config.contains("target")) {
|
||||
target = config["target"].get<std::string>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue