chore(CMake): enable standard conforming MSVC preprocessor (#25828)
This commit is contained in:
@@ -36,6 +36,11 @@ target_compile_options(acore-compile-option-interface
|
|||||||
INTERFACE
|
INTERFACE
|
||||||
/utf-8)
|
/utf-8)
|
||||||
|
|
||||||
|
target_compile_options(acore-compile-option-interface
|
||||||
|
INTERFACE
|
||||||
|
/Zc:preprocessor)
|
||||||
|
message(STATUS "MSVC: Enabled standard conforming preprocessor")
|
||||||
|
|
||||||
if(PLATFORM EQUAL 64)
|
if(PLATFORM EQUAL 64)
|
||||||
# This definition is necessary to work around a bug with Intellisense described
|
# This definition is necessary to work around a bug with Intellisense described
|
||||||
# here: http://tinyurl.com/2cb428. Syntax highlighting is important for proper
|
# here: http://tinyurl.com/2cb428. Syntax highlighting is important for proper
|
||||||
|
|||||||
Reference in New Issue
Block a user