Exporting all symbols from DLL for test builds on windows.
This commit is contained in:
parent
0b6c7a3df5
commit
00890c2adc
@ -140,6 +140,10 @@ elseif(NOT DEFINED EXPORT_ALL_SYMBOLS)
|
||||
set(EXPORT_ALL_SYMBOLS FALSE)
|
||||
endif()
|
||||
|
||||
if (EXPORT_ALL_SYMBOLS)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
endif(EXPORT_ALL_SYMBOLS)
|
||||
|
||||
# BSD
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "BSD")
|
||||
set(BSD TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user