summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/cudareflect/tinyexr/test/unit/config-msvc.py
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-08 18:39:01 +0000
committerKarl Berry <karl@freefriends.org>2022-01-08 18:39:01 +0000
commitbedc9a5694f7c40a2645919601638d2dbef4145b (patch)
tree22548fd073b3f2f5a287c2487d69bfc656125ef6 /Build/source/utils/asymptote/cudareflect/tinyexr/test/unit/config-msvc.py
parentc2c4540ab1d27a23c085ce5081f6366cfabb31f6 (diff)
asy 2.75 sources
git-svn-id: svn://tug.org/texlive/trunk@61532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/cudareflect/tinyexr/test/unit/config-msvc.py')
-rw-r--r--Build/source/utils/asymptote/cudareflect/tinyexr/test/unit/config-msvc.py52
1 files changed, 52 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/cudareflect/tinyexr/test/unit/config-msvc.py b/Build/source/utils/asymptote/cudareflect/tinyexr/test/unit/config-msvc.py
new file mode 100644
index 00000000000..a7771defd1a
--- /dev/null
+++ b/Build/source/utils/asymptote/cudareflect/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
+