diff options
Diffstat (limited to 'graphics/asymptote/tinyexr/test/unit/config-msvc.py')
-rw-r--r-- | graphics/asymptote/tinyexr/test/unit/config-msvc.py | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/graphics/asymptote/tinyexr/test/unit/config-msvc.py b/graphics/asymptote/tinyexr/test/unit/config-msvc.py new file mode 100644 index 0000000000..a7771defd1 --- /dev/null +++ b/graphics/asymptote/tinyexr/test/unit/config-msvc.py @@ -0,0 +1,52 @@ +exe = "tester.exe" + +toolchain = "msvc" + +# optional +link_pool_depth = 1 + +# optional +builddir = { + "gnu" : "build" + , "msvc" : "build" + , "clang" : "build" + } + +includes = { + "gnu" : [ "-I." ] + , "msvc" : [ "/I." ] + , "clang" : [ "-I." ] + } + +defines = { + "gnu" : [ "-DEXAMPLE=1" ] + , "msvc" : [ "/DEXAMPLE=1" ] + , "clang" : [ "-DEXAMPLE=1" ] + } + +cflags = { + "gnu" : [ "-O2", "-g" ] + , "msvc" : [ "/O2" ] + , "clang" : [ "-O2", "-g" ] + } + +cxxflags = { + "gnu" : [ "-O2", "-g" ] + , "msvc" : [ "/O2", "/W4", "/EHsc"] + , "clang" : [ "-O2", "-g", "-fsanitize=address" ] + } + +ldflags = { + "gnu" : [ ] + , "msvc" : [ ] + , "clang" : [ "-fsanitize=address" ] + } + +# optionsl +cxx_files = [ "tester.cc" ] +c_files = [ ] + +# You can register your own toolchain through register_toolchain function +def register_toolchain(ninja): + pass + |