]> vaikene.ee Git - evaf/blob - src/apps/PswGen/GUI/CMakeLists.txt
Added PswGen application.
[evaf] / src / apps / PswGen / GUI / CMakeLists.txt
1 # Name of the target
2 set(TARGET PswGui)
3
4 # Qt modules
5 include(${QT_USE_FILE})
6
7 # Needed for exporting/importing symbols
8 add_definitions(-DPSWGEN_GUI_LIBRARY)
9
10 # Include files
11 include_directories(${eVaf_INCLUDE})
12
13 # Required eVaf libraries
14 set(eVaf_LIBRARIES CommonLib PluginsLib SdiWindow PswGen)
15
16 # Source files
17 set(SRCS
18 gui.cpp
19 )
20
21 # Header files for the meta-object compiler
22 set(MOC_HDRS
23 gui.h
24 )
25
26 # Version info resource file for Windows builds
27 if(WIN32)
28 set(SRCS ${SRCS} version.rc)
29 endif(WIN32)
30
31 qt4_wrap_cpp(MOC_SRCS ${MOC_HDRS})
32
33 add_library(${TARGET} SHARED ${SRCS} ${MOC_SRCS})
34
35 target_link_libraries(${TARGET} ${QT_LIBRARIES} ${eVaf_LIBRARIES})
36
37 install(TARGETS ${TARGET} DESTINATION bin)