2 set(TARGET FileFinderEngine)
5 #set(QT_DONT_USE_QTGUI TRUE)
6 #include(${QT_USE_FILE})
8 # Needed for exporting/importing symbols
9 add_definitions(-DFILEFINDER_ENGINE_LIBRARY)
12 include_directories(${eVaf_INCLUDE})
14 # Required eVaf libraries
15 set(eVaf_LIBRARIES CommonLib PluginsLib)
25 # Header files for the meta-object compiler
31 # Version info resource file for Windows builds
32 if(WIN32 AND NOT MINGW)
33 set(SRCS ${SRCS} version.rc)
34 endif(WIN32 AND NOT MINGW)
36 qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
38 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
40 qt5_use_modules(${TARGET} Core)
42 target_link_libraries(${TARGET} ${eVaf_LIBRARIES})
44 install(TARGETS ${TARGET} DESTINATION bin)