summaryrefslogtreecommitdiff
path: root/test/ctor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/ctor.cc')
-rw-r--r--test/ctor.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ctor.cc b/test/ctor.cc
index 0d77a3e..7adfe97 100644
--- a/test/ctor.cc
+++ b/test/ctor.cc
@@ -22,6 +22,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"argparser\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
},
},
@@ -39,6 +40,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"argsplit\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
},
},
@@ -56,6 +58,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"pointerlist\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
},
},
@@ -74,7 +77,9 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
.cxxflags = {
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
+ "-I../json/include",
"-DOUTPUT=\"deps\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
},
},
@@ -88,6 +93,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
.flags = {
.cxxflags = {
"-std=c++20", "-O3", "-Wall", "-Werror",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
},
},
@@ -108,6 +114,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"execute\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
.ldflags = { "-pthread" },
},
@@ -126,6 +133,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"tasks\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
.ldflags = { "-pthread" },
},
@@ -144,6 +152,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"cycle\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
.ldflags = { "-pthread" },
},
@@ -162,6 +171,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"source_type\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
.ldflags = { "-pthread" },
},
@@ -182,6 +192,7 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src", "-Iuunit",
"-DOUTPUT=\"tools\"",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
},
},
@@ -211,6 +222,8 @@ ctor::build_configurations ctorTestConfigs(const ctor::settings& settings)
.cxxflags = {
"-std=c++20", "-O3", "-Wall", "-Werror",
"-I../src",
+ "-I../json/include",
+ {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"},
},
.ldflags = { "-pthread" },
},