2019-09-23 20:46:16 +02:00
|
|
|
#
|
|
|
|
# Author: Benjamin Sergeant
|
|
|
|
# Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
|
|
|
|
set (IXSNAKE_SOURCES
|
|
|
|
ixsnake/IXSnakeServer.cpp
|
|
|
|
ixsnake/IXSnakeProtocol.cpp
|
|
|
|
ixsnake/IXAppConfig.cpp
|
|
|
|
ixsnake/IXRedisClient.cpp
|
2019-09-24 06:04:01 +02:00
|
|
|
ixsnake/IXRedisServer.cpp
|
2019-09-23 20:46:16 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set (IXSNAKE_HEADERS
|
|
|
|
ixsnake/IXSnakeServer.h
|
|
|
|
ixsnake/IXSnakeProtocol.h
|
|
|
|
ixsnake/IXAppConfig.h
|
|
|
|
ixsnake/IXRedisClient.h
|
2019-09-24 06:04:01 +02:00
|
|
|
ixsnake/IXRedisServer.h
|
2019-09-23 20:46:16 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(ixsnake STATIC
|
|
|
|
${IXSNAKE_SOURCES}
|
|
|
|
${IXSNAKE_HEADERS}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(IXSNAKE_INCLUDE_DIRS
|
|
|
|
.
|
|
|
|
..
|
|
|
|
../ixcore
|
|
|
|
../ixcrypto
|
|
|
|
../ixwebsocket
|
|
|
|
../third_party)
|
|
|
|
|
|
|
|
target_include_directories( ixsnake PUBLIC ${IXSNAKE_INCLUDE_DIRS} )
|