Fix Windows df-structures stubs failing to compile if the option to keep symbols is specified.

develop
Ben Lubar 2018-07-13 15:49:37 -05:00
parent eba646c43e
commit b44789285c
No known key found for this signature in database
GPG Key ID: 018BAB45DB2D2B24
1 changed files with 5 additions and 0 deletions

@ -276,6 +276,11 @@ IF(REMOVE_SYMBOLS_FROM_DF_STUBS)
SET_SOURCE_FILES_PROPERTIES(DataStatics.cpp DataStaticsCtor.cpp DataStaticsFields.cpp ${STATIC_FIELDS_FILES} SET_SOURCE_FILES_PROPERTIES(DataStatics.cpp DataStaticsCtor.cpp DataStaticsFields.cpp ${STATIC_FIELDS_FILES}
PROPERTIES COMPILE_FLAGS "/O1 /bigobj") PROPERTIES COMPILE_FLAGS "/O1 /bigobj")
ENDIF() ENDIF()
ELSE()
IF(WIN32)
SET_SOURCE_FILES_PROPERTIES(DataStatics.cpp DataStaticsCtor.cpp DataStaticsFields.cpp ${STATIC_FIELDS_FILES}
PROPERTIES COMPILE_FLAGS "/Od /bigobj")
ENDIF()
ENDIF() ENDIF()
# Compilation # Compilation