diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-23 12:14:46 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-01-08 19:01:09 +0100 |
commit | a7f2893bfb5149944be598bd93b642ead27c1886 (patch) | |
tree | b2086fda57e5453b3493d91923d1855bc2bcd0b5 /ctor.cc | |
parent | c50b7554cfd23b53107f2a2917a0be22a68b0c11 (diff) |
WIPmsvc-rebased
Diffstat (limited to 'ctor.cc')
-rw-r--r-- | ctor.cc | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -30,8 +30,23 @@ ctor::build_configurations ctorConfigs(const ctor::settings& settings) "src/tools.cc", "src/util.cc", "src/unittest.cc", + {ctor::toolchain::msvc, "getopt-for-windows/getopt.c"}, }, .flags = { + .cflags = { + "-O3", +// "-g", +// "-Wall", +// "-Wconversion", +// "-Wextra", + //"-Werror", + "-Isrc", + {ctor::toolchain::msvc, ctor::c_opt::custom, "/Igetopt-for-windows"}, + {ctor::toolchain::msvc, ctor::c_opt::custom, "/D_X86_"}, + {ctor::toolchain::msvc, ctor::c_opt::custom, "/EHsc"}, + {ctor::toolchain::msvc, ctor::c_opt::custom, "/external:W0"}, + {ctor::toolchain::msvc, ctor::c_opt::custom, "/D_CRT_SECURE_NO_WARNINGS"}, + }, .cxxflags = { "-std=c++20", "-O3", @@ -43,6 +58,13 @@ ctor::build_configurations ctorConfigs(const ctor::settings& settings) "-Wconversion", // "-Wnrvo", "-Isrc", + "-Ijson/include", + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/Igetopt-for-windows"}, + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/D_X86_"}, + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/EHsc"}, + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/external:W0"}, + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/D_CRT_SECURE_NO_WARNINGS"}, + {ctor::toolchain::msvc, ctor::cxx_opt::custom, "/Dstrdup=_strdup"}, }, }, } |