aboutsummaryrefslogtreecommitdiff
path: root/i2ctcp/include.cmake
blob: b61b2a4db2baf548d39912576e34a11f04774864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include_directories(${CMAKE_CURRENT_LIST_DIR})
add_library(i2ctcp STATIC
	${CMAKE_CURRENT_LIST_DIR}/i2ctcpv1.c
	)

# mpack
include_directories(${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack)
add_library(mpack STATIC
	${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-common.c
	${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-expect.c
	${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-node.c
	${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-platform.c
	${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-reader.c
	${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-writer.c
	)

# causes some wild crashes, please leave off
add_compile_definitions(MPACK_READ_TRACKING=0)