diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/bootstrap.build | 2 | ||||
-rw-r--r-- | build/export.build | 2 | ||||
-rw-r--r-- | build/root.build | 11 |
3 files changed, 11 insertions, 4 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build index 7c9673c..945349c 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -1,5 +1,5 @@ # file : build/bootstrap.build -# license : TBC; see accompanying LICENSE file +# license : MIT; see accompanying LICENSE file project = bbot diff --git a/build/export.build b/build/export.build index be0ae07..f5e0fdd 100644 --- a/build/export.build +++ b/build/export.build @@ -1,5 +1,5 @@ # file : build/export.build -# license : TBC; see accompanying LICENSE file +# license : MIT; see accompanying LICENSE file $out_root/ { diff --git a/build/root.build b/build/root.build index d16d0e9..ad832c7 100644 --- a/build/root.build +++ b/build/root.build @@ -1,5 +1,5 @@ # file : build/root.build -# license : TBC; see accompanying LICENSE file +# license : MIT; see accompanying LICENSE file cxx.std = latest @@ -14,10 +14,17 @@ if ($cxx.target.system == 'win32-msvc') cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS if ($cxx.class == 'msvc') - cxx.coptions += /wd4251 /wd4275 /wd4800 /wd4819 + cxx.coptions += /wd4251 /wd4275 /wd4800 elif ($cxx.id == 'gcc') +{ cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl + if ($cxx.version.major >= 13) + cxx.coptions += -Wno-dangling-reference +} +elif ($cxx.id.type == 'clang' && $cxx.version.major >= 15) + cxx.coptions += -Wno-unqualified-std-cast-call + cxx.poptions =+ "-I$out_root" "-I$src_root" # Load the cli module but only if it's available. This way a distribution |