4 # Needed for exporting/importing symbols
5 add_definitions(-DPLUGINS_LIBRARY)
8 include_directories(${eVaf_INCLUDE})
10 # Required eVaf libraries
11 set(eVaf_LIBRARIES CommonLib)
18 # Header files for the meta-object compiler
26 # Version info resource file for Windows builds
27 if(WIN32 AND NOT MINGW)
28 set(SRCS ${SRCS} version.rc)
29 endif(WIN32 AND NOT MINGW)
31 qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
33 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
35 qt5_use_modules(${TARGET} Core Xml)
37 target_link_libraries(${TARGET} ${eVaf_LIBRARIES})
39 install(TARGETS ${TARGET} DESTINATION bin)