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