From c1717b3f47af88a2c836ebbf2c4c3f773ae58cb0 Mon Sep 17 00:00:00 2001 From: toast2903 <22451773+lat9nq@users.noreply.github.com> Date: Wed, 21 Jun 2023 22:57:40 -0400 Subject: cmake: Reposition preprocessor switch comment Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e814cff19..2da983cad 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -35,6 +35,7 @@ if (MSVC) # /volatile:iso - Use strict standards-compliant volatile semantics. # /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates # /Zc:inline - Let codegen omit inline functions in object files + # /Zc:preprocessor - Enable standards-conforming preprocessor # /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null # /GT - Supports fiber safety for data allocated using static thread-local storage add_compile_options( @@ -48,7 +49,7 @@ if (MSVC) /volatile:iso /Zc:externConstexpr /Zc:inline - /Zc:preprocessor # Use standards-conforming preprocessor + /Zc:preprocessor /Zc:throwingNew /GT -- cgit v1.2.3