From 8ee7483ff5bae4f217c91450f442ee3661a46c19 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Thu, 7 Dec 2017 17:27:41 -0800 Subject: [PATCH] Added build config stubs to CMake --- CMakeLists.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bb2697..c6ef444 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,6 +83,27 @@ add_executable(ipv4simple ${PROJ_DIR}/examples/bindings/cpp/ipv4simple/server.cp target_link_libraries(ipv4simple lwip zto zt pthread) target_compile_options(ipv4simple PRIVATE -std=c++11 -DLIBZT_TRACE=1) + +# --- CONFIGURATION + +if (LIBZT_TRACE EQUAL 1) +endif() + +if (LIBZT_DEBUG EQUAL 1) +endif() + +if (ZT_TRACE EQUAL 1) +endif() + +if (ZT_DEBUG EQUAL 1) +endif() + +if (NS_TRACE EQUAL 1) +endif() + +if (NS_DEBUG EQUAL 1) +endif() + if (JNI EQUAL 1) MESSAGE(STATUS "Looking for JNI headers") # --- Locate JNI headers