IXWebSocket/ixcobra/CMakeLists.txt

37 lines
756 B
CMake
Raw Normal View History

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
ixcobra/IXCobraConfig.h
2019-09-10 21:19:22 +02:00
)
add_library(ixcobra STATIC
${IXCOBRA_SOURCES}
${IXCOBRA_HEADERS}
)
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
../ixcrypto
${JSONCPP_INCLUDE_DIRS})
2019-09-10 21:19:22 +02:00
target_include_directories( ixcobra PUBLIC ${IXCOBRA_INCLUDE_DIRS} )