forked from Syphon/Jitter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
79 lines (72 loc) · 2.77 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
cmake_minimum_required(VERSION 3.19)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_XCODE_GENERATE_SCHEME ON)
set(CMAKE_SUPPRESS_REGENERATION ON)
set(CMAKE_OSX_ARCHITECTURES x86_64;arm64)
set(C74_SCRIPT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/max-sdk-base/script")
project(SyphonJitter VERSION 1.0.8 LANGUAGES C OBJC)
# needs to come after project declearation
enable_language(OBJC)
set(SYPHON_SHARED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Shared")
set(SYPHON_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Syphon-Framework")
set(SYPHON_SRC
"${SYPHON_DIR}/Syphon.h"
"${SYPHON_DIR}/SyphonBuildMacros.h"
"${SYPHON_DIR}/SyphonCFMessageReceiver.h"
"${SYPHON_DIR}/SyphonCFMessageSender.h"
"${SYPHON_DIR}/SyphonCGL.h"
"${SYPHON_DIR}/SyphonClient.h"
"${SYPHON_DIR}/SyphonClientConnectionManager.h"
"${SYPHON_DIR}/SyphonDispatch.h"
"${SYPHON_DIR}/SyphonImage.h"
"${SYPHON_DIR}/SyphonIOSurfaceImage.h"
"${SYPHON_DIR}/SyphonIOSurfaceImageCore.h"
"${SYPHON_DIR}/SyphonIOSurfaceImageLegacy.h"
"${SYPHON_DIR}/SyphonMachMessageReceiver.h"
"${SYPHON_DIR}/SyphonMachMessageSender.h"
"${SYPHON_DIR}/SyphonMessageQueue.h"
"${SYPHON_DIR}/SyphonMessageReceiver.h"
"${SYPHON_DIR}/SyphonMessageSender.h"
"${SYPHON_DIR}/SyphonMessaging.h"
"${SYPHON_DIR}/SyphonOpenGLFunctions.h"
"${SYPHON_DIR}/SyphonPrivate.h"
"${SYPHON_DIR}/SyphonServer.h"
"${SYPHON_DIR}/SyphonServerConnectionManager.h"
"${SYPHON_DIR}/SyphonServerDirectory.h"
"${SYPHON_DIR}/SyphonServerRenderer.h"
"${SYPHON_DIR}/SyphonServerRendererCore.h"
"${SYPHON_DIR}/SyphonServerRendererLegacy.h"
"${SYPHON_DIR}/SyphonServerShader.h"
"${SYPHON_DIR}/SyphonServerVertices.h"
"${SYPHON_DIR}/SyphonShader.h"
"${SYPHON_DIR}/SyphonVertices.h"
"${SYPHON_DIR}/SyphonCFMessageReceiver.m"
"${SYPHON_DIR}/SyphonCFMessageSender.m"
"${SYPHON_DIR}/SyphonClient.m"
"${SYPHON_DIR}/SyphonClientConnectionManager.m"
"${SYPHON_DIR}/SyphonIOSurfaceImage.m"
"${SYPHON_DIR}/SyphonIOSurfaceImageCore.m"
"${SYPHON_DIR}/SyphonIOSurfaceImageLegacy.m"
"${SYPHON_DIR}/SyphonImage.m"
"${SYPHON_DIR}/SyphonMessageQueue.m"
"${SYPHON_DIR}/SyphonMessageReceiver.m"
"${SYPHON_DIR}/SyphonMessageSender.m"
"${SYPHON_DIR}/SyphonMessaging.m"
"${SYPHON_DIR}/SyphonPrivate.m"
"${SYPHON_DIR}/SyphonServer.m"
"${SYPHON_DIR}/SyphonServerConnectionManager.m"
"${SYPHON_DIR}/SyphonServerDirectory.m"
"${SYPHON_DIR}/SyphonServerRenderer.m"
"${SYPHON_DIR}/SyphonServerRendererCore.m"
"${SYPHON_DIR}/SyphonServerRendererLegacy.m"
"${SYPHON_DIR}/SyphonServerShader.m"
"${SYPHON_DIR}/SyphonServerVertices.m"
"${SYPHON_DIR}/SyphonShader.m"
"${SYPHON_DIR}/SyphonVertices.m"
"${SYPHON_DIR}/SyphonCGL.c"
"${SYPHON_DIR}/SyphonDispatch.c"
"${SYPHON_DIR}/SyphonOpenGLFunctions.c"
)
#add_subdirectory("Syphon-Framework")
add_subdirectory("projects/jit.gl.syphonclient")
add_subdirectory("projects/jit.gl.syphonserver")