aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-03 17:30:01 -0400
committerDeterminant <[email protected]>2019-06-03 17:30:01 -0400
commit9f294eb2e0ae0bed8120fc34fd9782f2f0a9ac74 (patch)
treed5005c9888874bd2b169fcd51418a3fab36fe631 /CMakeLists.txt
parent9ec5a371f5c05fda8ddeac3470be6fc5c67d44e9 (diff)
WIP: C bindings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 903a66f..29ea67d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,10 @@ include_directories(include)
add_library(salticidae
OBJECT
src/util.cpp
- src/conn.cpp)
+ src/conn.cpp
+ src/network.cpp
+ src/stream.cpp
+ src/netaddr.cpp)
option(BUILD_SHARED "build shared library." OFF)
if(BUILD_SHARED)
@@ -59,6 +62,7 @@ option(SALTICIDAE_NORMAL_LOG "enable regular log" ON)
option(SALTICIDAE_MSG_STAT "enable message statistics" ON)
option(SALTICIDAE_NOCHECK "disable the sanity check" OFF)
option(SALTICIDAE_NOCHECKSUM " disable checksum in messages" OFF)
+option(SALTICIDAE_CBINDINGS "enable C bindings" OFF)
configure_file(src/config.h.in include/salticidae/config.h @ONLY)