]> git.sesse.net Git - casparcg/blob - modules/psd/CMakeLists.txt
Uncommented support for [producer] layers in PSD producer.
[casparcg] / modules / psd / CMakeLists.txt
1 cmake_minimum_required (VERSION 2.6)
2 project (psd)
3
4 set(SOURCES
5                 util/bigendian_file_input_stream.cpp
6                 util/pdf_reader.cpp
7
8                 descriptor.cpp
9                 psd_document.cpp
10                 layer.cpp
11                 misc.cpp
12                 psd_scene_producer.cpp
13 )
14 set(HEADERS
15                 util/bigendian_file_input_stream.h
16                 util/pdf_reader.h
17
18                 channel.h
19                 descriptor.h
20                 psd_document.h
21                 image.h
22                 layer.h
23                 misc.h
24                 psd_scene_producer.h
25 )
26
27 add_library(psd ${SOURCES} ${HEADERS})
28
29 include_directories(..)
30 include_directories(../..)
31 include_directories(${BOOST_INCLUDE_PATH})
32 include_directories(${RXCPP_INCLUDE_PATH})
33 include_directories(${TBB_INCLUDE_PATH})
34
35 set_target_properties(psd PROPERTIES FOLDER modules)
36 source_group(sources\\util util/*)
37 source_group(sources ./*)
38
39 target_link_libraries(psd common core)
40
41 casparcg_add_include_statement("modules/psd/psd_scene_producer.h")
42 casparcg_add_init_statement("psd::init" "psd")
43 casparcg_add_module_project("psd")