Brewtarget / brewtarget

Main brewtarget source code repository.
GNU General Public License v3.0
310 stars 134 forks source link

Add Preprocessor option for MSVC in CMakeLists.txt #746

Open Lubart opened 1 year ago

Lubart commented 1 year ago

Can preprocessor option (Enable preprocessor conformance mode) be added to CMakeLists.txt. That option is:

if (MSVC) add_compile_options(/Zc:preprocessor) endif()

In order to have it already in VC project options. https://learn.microsoft.com/en-us/cpp/build/reference/zc-preprocessor?view=msvc-170