4 # Needed for exporting/importing symbols
5 add_definitions(-DGUI_LIBRARY)
8 include_directories(${eVaf_INCLUDE})
10 # Required eVaf libraries
18 # Header files for the meta-object compiler
23 # Version info resource file for Windows builds
24 if(WIN32 AND NOT MINGW)
25 set(SRCS ${SRCS} version.rc)
26 endif(WIN32 AND NOT MINGW)
28 qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
30 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
32 qt5_use_modules(${TARGET} Core Widgets)
34 target_link_libraries(${TARGET} ${QT_LIBRARIES} ${eVaf_LIBRARIES})
36 install(TARGETS ${TARGET} DESTINATION bin)