|
@@ -265,6 +265,10 @@ endif()
|
265
|
265
|
option( MSVC_EXTENDED_ALIGNMENT "Turn on MSVC compiler definition _ENABLE_EXTENDED_ALIGNED_STORAGE " OFF )
|
266
|
266
|
if (MSVC_EXTENDED_ALIGNMENT)
|
267
|
267
|
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
|
|
268
|
+ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LTCG")
|
|
269
|
+ #add_definitions(-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE)
|
|
270
|
+ #set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
|
|
271
|
+ #include(GenerateExportHeader)
|
268
|
272
|
endif()
|
269
|
273
|
|
270
|
274
|
####################
|