2 set(TARGET FileFinderGui)
5 #include(${QT_USE_FILE})
8 include_directories(${eVaf_INCLUDE})
10 # Required eVaf libraries
11 set(eVaf_LIBRARIES CommonLib PluginsLib GuiLib)
20 # Header files for the meta-object compiler
30 # Version info resource file for Windows builds
31 if(WIN32 AND NOT MINGW)
32 set(SRCS ${SRCS} version.rc)
33 endif(WIN32 AND NOT MINGW)
35 qt5_add_resources(RCC_SRCS ${RCCS})
37 qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
39 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS} ${RCC_SRCS})
41 qt5_use_modules(${TARGET} Core Widgets)
43 target_link_libraries(${TARGET} ${QT_LIBRARIES} ${eVaf_LIBRARIES})
45 install(TARGETS ${TARGET} DESTINATION bin)