-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakeLists.txt
30 lines (30 loc) · 1.2 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
cmake_minimum_required(VERSION 3.0)
project(TidaLink)
include(${CMAKE_SOURCE_DIR}/link/AbletonLinkConfig.cmake)
#add_subdirectory(${CMAKE_SOURCE_DIR}/oscpack)
set(INCLUDES
${INCLUDES}
${CMAKE_SOURCE_DIR}/dirtyudp.h
${CMAKE_SOURCE_DIR}/oscpack/osc/OscOutboundPacketStream.h
${CMAKE_SOURCE_DIR}/oscpack/osc/OscReceivedElements.h
${CMAKE_SOURCE_DIR}/oscpack/osc/OscPrintReceivedElements.h
${CMAKE_SOURCE_DIR}/oscpack/osc/OscTypes.h
#${CMAKE_SOURCE_DIR}/oscpack/osc/OscPacketListener.h
#${CMAKE_SOURCE_DIR}/oscpack/ip/UdpSocket.h
#${CMAKE_SOURCE_DIR}/oscpack/ip/IpEndpointName.h
#${CMAKE_SOURCE_DIR}/oscpack/ip/NetworkingUtils.h
)
set(SOURCES
${SOURCES}
${CMAKE_SOURCE_DIR}/main.cpp
${CMAKE_SOURCE_DIR}/oscpack/osc/OscOutboundPacketStream.cpp
${CMAKE_SOURCE_DIR}/oscpack/osc/OscReceivedElements.cpp
${CMAKE_SOURCE_DIR}/oscpack/osc/OscPrintReceivedElements.cpp
${CMAKE_SOURCE_DIR}/oscpack/osc/OscTypes.cpp
#${CMAKE_SOURCE_DIR}/oscpack/ip/UdpSocket.cpp
#${CMAKE_SOURCE_DIR}/oscpack/ip/NetworkingUtils.cpp
)
add_executable(TidaLink ${SOURCES} ${INCLUDES})
find_package (Threads)
target_link_libraries(TidaLink Ableton::Link ${CMAKE_THREAD_LIBS_INIT})
#target_link_libraries(TidaLink oscpack)