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