diff options
-rw-r--r-- | bpkg/buildfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile index e0b479b..43bfe53 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -59,6 +59,11 @@ if ($cxx.class == 'msvc') elif ($cxx.class == 'gcc') cxx.coptions += -Wno-unknown-pragmas +# VC14 has issues with decorating long names. +# +if ($cxx.id == 'msvc' && $cxx.version.major == 19 && $cxx.version.minor < 10) + cxx.coptions += /wd4503 + obj{utility}: cxx.poptions += -DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"' if $cli.configured |