2019-09-10 21:19:22 +02:00
|
|
|
#
|
|
|
|
# Author: Benjamin Sergeant
|
|
|
|
# Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
|
|
|
|
set (IXCOBRA_SOURCES
|
|
|
|
ixcobra/IXCobraConnection.cpp
|
|
|
|
ixcobra/IXCobraMetricsThreadedPublisher.cpp
|
|
|
|
ixcobra/IXCobraMetricsPublisher.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set (IXCOBRA_HEADERS
|
|
|
|
ixcobra/IXCobraConnection.h
|
|
|
|
ixcobra/IXCobraMetricsThreadedPublisher.h
|
|
|
|
ixcobra/IXCobraMetricsPublisher.h
|
2020-03-11 18:48:27 +01:00
|
|
|
ixcobra/IXCobraConfig.h
|
2020-04-16 01:59:17 +02:00
|
|
|
ixcobra/IXCobraEventType.h
|
2019-09-10 21:19:22 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(ixcobra STATIC
|
|
|
|
${IXCOBRA_SOURCES}
|
|
|
|
${IXCOBRA_HEADERS}
|
|
|
|
)
|
|
|
|
|
2019-12-04 02:18:16 +01:00
|
|
|
find_package(JsonCpp)
|
|
|
|
if (NOT JSONCPP_FOUND)
|
|
|
|
set(JSONCPP_INCLUDE_DIRS ../third_party/jsoncpp)
|
|
|
|
endif()
|
|
|
|
|
2019-09-10 21:19:22 +02:00
|
|
|
set(IXCOBRA_INCLUDE_DIRS
|
|
|
|
.
|
2019-09-10 23:05:07 +02:00
|
|
|
..
|
2019-09-10 21:19:22 +02:00
|
|
|
../ixcore
|
2019-12-04 02:18:16 +01:00
|
|
|
../ixcrypto
|
|
|
|
${JSONCPP_INCLUDE_DIRS})
|
2019-09-10 21:19:22 +02:00
|
|
|
|
|
|
|
target_include_directories( ixcobra PUBLIC ${IXCOBRA_INCLUDE_DIRS} )
|