5 set(QT_DONT_USE_QTGUI TRUE)
6 include(${QT_USE_FILE})
8 # Needed for exporting/importing symbols
9 add_definitions(-DPSWGEN_GENERATOR_LIBRARY)
12 include_directories(${eVaf_INCLUDE})
14 # Required eVaf libraries
15 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 qt4_wrap_cpp(MOC_SRCS ${MOC_HDRS})
34 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
36 target_link_libraries(${TARGET} ${QT_LIBRARIES} ${eVaf_LIBRARIES})
38 install(TARGETS ${TARGET} DESTINATION bin)