Added build config stubs to CMake

This commit is contained in:
Joseph Henry
2017-12-07 17:27:41 -08:00
parent ff0ff4a3ab
commit 8ee7483ff5

View File

@@ -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