Commit 13a59d61 authored by Jonas Stienen's avatar Jonas Stienen

Adding WIN32 switch for DLL import/export definition

parent 2a219f37
...@@ -169,8 +169,11 @@ if( ITA_BASE_WITH_CONFIG_OLD_IMPL AND NOT ITA_BASE_WITH_CONFIG_SIMPLE_INI ) ...@@ -169,8 +169,11 @@ if( ITA_BASE_WITH_CONFIG_OLD_IMPL AND NOT ITA_BASE_WITH_CONFIG_SIMPLE_INI )
list( APPEND ITABaseSources "src/ITAConfigUtilsWin32Impl.cpp" ) list( APPEND ITABaseSources "src/ITAConfigUtilsWin32Impl.cpp" )
endif( ITA_BASE_WITH_CONFIG_OLD_IMPL AND NOT ITA_BASE_WITH_CONFIG_SIMPLE_INI ) endif( ITA_BASE_WITH_CONFIG_OLD_IMPL AND NOT ITA_BASE_WITH_CONFIG_SIMPLE_INI )
# compiler
add_definitions( -DITA_BASE_DLL -DITA_BASE_EXPORT ) # Windows DLL compiler flags
if( WIN32 )
add_definitions( -DITA_BASE_DLL -DITA_BASE_EXPORT )
endif( WIN32)
# linker # linker
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment