6 set(QT_DONT_USE_QTGUI TRUE)
7 include(${QT_USE_FILE})
9 # Needed for exporting symbols
10 add_definitions(-DPSWGEN_STORAGE_LIBRARY)
13 include_directories(${eVaf_INCLUDE})
15 # Required eVaf libraries
16 set(eVaf_LIBRARIES CommonLib PluginsLib)
23 # Header files for the meta-object compiler
28 # Version info resource file for Windows builds
29 if(WIN32 AND NOT MINGW)
30 set(SRCS ${SRCS} version.rc)
31 endif(WIN32 AND NOT MINGW)
33 qt4_wrap_cpp(MOC_SRCS ${MOC_HDRS})
35 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
37 target_link_libraries(${TARGET} ${QT_LIBRARIES} ${eVaf_LIBRARIES})
39 install(TARGETS ${TARGET} DESTINATION bin)