34 lines
627 B
CMake
34 lines
627 B
CMake
|
#
|
||
|
# 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
|
||
|
)
|
||
|
|
||
|
set (IXSNAKE_HEADERS
|
||
|
ixsnake/IXSnakeServer.h
|
||
|
ixsnake/IXSnakeProtocol.h
|
||
|
ixsnake/IXAppConfig.h
|
||
|
ixsnake/IXRedisClient.h
|
||
|
)
|
||
|
|
||
|
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} )
|