-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
39 lines (33 loc) · 1.55 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
cmake_minimum_required(VERSION 3.5)
project(Iotivity_bakalarka)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
include_directories(
"iotivity-1.1.0/resource/include"
"iotivity-1.1.0/resource/src"
"iotivity-1.1.0/resource/csdk/stack/include"
"iotivity-1.1.0/resource/c_common/ocrandom/include"
"iotivity-1.1.0/resource/csdk/logger/include"
"iotivity-1.1.0/resource/oc_logger/include"
"iotivity-1.1.0/resource/c_common/"
"iotivity-1.1.0/service/resource-encapsulation/include"
"iotivity-1.1.0/service/resource-encapsulation/src"
"iotivity-1.1.0/service/resource-encapsulation/src/common/primitiveResource/include"
"iotivity-1.1.0/service/resource-encapsulation/src/common/primitiveResource/src"
"iotivity-1.1.0/service/resource-encapsulation/src/resourceBroker/include"
"iotivity-1.1.0/service/resource-encapsulation/src/resourceBroker/src"
"iotivity-1.1.0/service/resource-encapsulation/src/resourceCache/include"
"iotivity-1.1.0/service/resource-encapsulation/src/resourceCache/src"
"iotivity-1.1.0/service/resource-encapsulation/src/resourceClient"
"iotivity-1.1.0/service/resource-encapsulation/src/serverBuilder/include"
"iotivity-1.1.0/service/resource-encapsulation/src/serverBuilder/src"
src
samples
lib
)
link_directories(
"${CMAKE_CURRENT_SOURCE_DIR}/iotivity-1.1.0/out/linux/x86_64/release"
lib/jsoncpp/json
)
add_subdirectory(lib)
add_subdirectory(src)
add_subdirectory(samples)