CMake: Pass _MSC_VER to Interrogate under MSVC

This commit is contained in:
Sam Edwards 2019-08-24 18:03:39 -06:00
parent 9ec66e3e28
commit 55cfc6c2b9
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ set(INTERROGATE_EXCLUDE_REGEXES
if(WIN32)
list(APPEND IGATE_FLAGS -D_X86_ -D__STDC__=1 -DWIN32_VC -D "_declspec(param)=" -D "__declspec(param)=" -D_near -D_far -D__near -D__far -D_WIN32 -D__stdcall -DWIN32)
endif()
if(MSVC_VERSION)
list(APPEND IGATE_FLAGS "-D_MSC_VER=${MSVC_VERSION}")
endif()
if(INTERROGATE_VERBOSE)
list(APPEND IGATE_FLAGS "-v")
endif()