forked from origamidance/ofLiveApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
42 lines (31 loc) · 910 Bytes
/
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
project(ofApp)
set(APP ofApp)
cmake_minimum_required(VERSION 2.8)
include(../of/openFrameworks.cmake)
#// LIVECODING /////////////////////////////////////////////////////////////////
set(OF_ENABLE_LIVECODING ON CACHE BOOL "")
message("++ OF_ENABLE_LIVECODING: " ${OF_ENABLE_LIVECODING})
if(OF_ENABLE_LIVECODING)
add_definitions(-DRCCPP)
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
add_subdirectory(RuntimeCompiledCPlusPlus/Aurora)
include_directories(RuntimeCompiledCPlusPlus/Aurora)
list(APPEND OPENFRAMEWORKS_LIBRARIES RuntimeCompiler RuntimeObjectSystem)
endif()
#///////////////////////////////////////////////////////////////////////////////
#ofxaddon()
set(SOURCES
src/main.cpp
src/ofApp.cpp
src/ofLive.cpp
)
add_executable(
${APP}
${SOURCES}
${OFXADDONS_SOURCES}
)
target_link_libraries(
${APP}
${OPENFRAMEWORKS_LIBRARIES}
)
cotire(${APP})