5 set(QT_USE_QTMAIN TRUE)
6 include(${QT_USE_FILE})
9 include_directories(${eVaf_INCLUDE})
11 # Required eVaf libraries
12 set(eVaf_LIBRARIES CommonLib PluginsLib)
28 # Header files for the meta-object compiler
40 # Version info resource file for Windows builds
41 if(WIN32 AND NOT MINGW)
42 set(SRCS ${SRCS} version.rc gui.rc)
43 endif(WIN32 AND NOT MINGW)
45 qt4_add_resources(RCC_SRCS ${RCCS})
47 qt4_wrap_cpp(MOC_SRCS ${MOC_HDRS})
49 add_executable(${TARGET} WIN32 ${SRCS} ${MOC_SRCS} ${RCC_SRCS})
51 target_link_libraries(${TARGET} ${QT_LIBRARIES} ${eVaf_LIBRARIES})
53 install(TARGETS ${TARGET} DESTINATION bin)