fix cmake
[recorditnow:recorditnow.git] / joschy-snapshot-23-02-10 / joschycore / joschycore / CMakeLists.txt
1
2 include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${QT_INCLUDE_DIR})
3
4 set(SRCS
5     manager.cpp
6     plugin.cpp
7     abstractnetworklayer.cpp
8     abstractprovider.cpp
9     video.cpp
10     plugininfo.cpp
11     pluginmanager.cpp
12     postfile.cpp
13     abstractresponseparser.cpp
14     scheduler.cpp
15     schedulerthread.cpp
16     abstractjob.cpp
17     config.cpp
18     actionreply.cpp)
19
20 set(HEADERS 
21     manager.h
22     plugin.h
23     abstractnetworklayer.h
24     abstractprovider.h
25     video.h
26     joschy_global.h
27     plugininfo.h
28     postfile.h
29     abstractresponseparser.h
30     scheduler.h
31     abstractjob.h
32     joschy_version.h
33     config.h
34     actionreply.h)
35
36
37
38 QT4_AUTOMOC(${SRCS})
39 add_library(joschycore SHARED ${SRCS})
40 target_link_libraries(joschycore ${QT_LIBRARIES})
41 INSTALL(TARGETS joschycore DESTINATION ${JOSCHY_LIBRARY_INSTALL_DIR})
42 install(FILES ${HEADERS} DESTINATION ${JOSCHY_INCLUDE_INSTALL_DIR} COMPONENT Devel)
43
44 #add_subdirectory(qt)
45 #add_subdirectory(provider)