-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
57 lines (49 loc) · 2.13 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
cmake_minimum_required(VERSION 3.4)
project(decklink_c)
set(CMAKE_CXX_STANDARD 14)
set(SOURCES
include/api.h
include/custom.h
include/decklink_c.h
include/types.h
include/util.h
src/api.cpp
src/callbacks.cpp
src/callbacks.h
src/custom.cpp
src/types.h
src/util.cpp
interop/Linux/include/DeckLinkAPI.h
# interop/Linux/include/DeckLinkAPI_v7_1.h
# interop/Linux/include/DeckLinkAPI_v7_3.h
# interop/Linux/include/DeckLinkAPI_v7_6.h
# interop/Linux/include/DeckLinkAPI_v7_9.h
# interop/Linux/include/DeckLinkAPI_v8_0.h
# interop/Linux/include/DeckLinkAPI_v8_1.h
# interop/Linux/include/DeckLinkAPI_v9_2.h
# interop/Linux/include/DeckLinkAPI_v9_9.h
# interop/Linux/include/DeckLinkAPI_v10_2.h
# interop/Linux/include/DeckLinkAPI_v10_4.h
# interop/Linux/include/DeckLinkAPI_v10_5.h
# interop/Linux/include/DeckLinkAPI_v10_6.h
# interop/Linux/include/DeckLinkAPI_v10_9.h
# interop/Linux/include/DeckLinkAPI_v10_11.h
interop/Linux/include/DeckLinkAPIConfiguration.h
# interop/Linux/include/DeckLinkAPIConfiguration_v10_2.h
# interop/Linux/include/DeckLinkAPIConfiguration_v10_4.h
# interop/Linux/include/DeckLinkAPIConfiguration_v10_5.h
# interop/Linux/include/DeckLinkAPIConfiguration_v10_9.h
# interop/Linux/include/DeckLinkAPIConfiguration_v10_11.h
interop/Linux/include/DeckLinkAPIDeckControl.h
interop/Linux/include/DeckLinkAPIDiscovery.h
interop/Linux/include/DeckLinkAPIDispatch.cpp
interop/Linux/include/DeckLinkAPIModes.h
interop/Linux/include/DeckLinkAPITypes.h
interop/Linux/include/DeckLinkAPIVersion.h
interop/Linux/include/LinuxCOM.h
)
include_directories(.)
add_library(decklink_c STATIC ${SOURCES})
target_link_libraries(decklink_c dl pthread)
add_subdirectory(examples)
install(TARGETS decklink_c DESTINATION .)