5 include_directories(${eVaf_INCLUDE})
7 # Required eVaf libraries
8 set(eVaf_LIBRARIES CommonLib PluginsLib)
24 # Header files for the meta-object compiler
36 # Version info resource file for Windows builds
37 if(WIN32 AND NOT MINGW)
38 set(SRCS ${SRCS} version.rc gui.rc)
39 endif(WIN32 AND NOT MINGW)
41 qt5_add_resources(RCC_SRCS ${RCCS})
43 qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
45 add_executable(${TARGET} WIN32 ${SRCS} ${MOC_SRCS} ${RCC_SRCS})
47 qt5_use_modules(${TARGET} Core Widgets)
49 target_link_libraries(${TARGET} ${eVaf_LIBRARIES})
51 install(TARGETS ${TARGET} DESTINATION bin)