4 # Needed for exporting symbols
5 add_definitions(-DPSWGEN_STORAGE_LIBRARY)
8 include_directories(${eVaf_INCLUDE})
10 # Required eVaf libraries
11 set(eVaf_LIBRARIES CommonLib PluginsLib)
22 # Header files for the meta-object compiler
27 # Version info resource file for Windows builds
28 if(WIN32 AND NOT MINGW)
29 set(SRCS ${SRCS} version.rc)
30 endif(WIN32 AND NOT MINGW)
32 qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
34 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
36 qt5_use_modules(${TARGET} Core Sql)
38 target_link_libraries(${TARGET} ${eVaf_LIBRARIES})
40 install(TARGETS ${TARGET} DESTINATION bin)