|
@@ -13,8 +13,8 @@ endif()
|
|
|
|
|
|
set(CNSTREAM_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../)
|
|
|
set(TEST_ROOT_DIR ${CNSTREAM_ROOT_DIR}/test)
|
|
|
-message(STATUS "SOURCE: CNSTREAM_ROOT_DIR = ${CNSTREAM_ROOT_DIR}")
|
|
|
-message(STATUS "SOURCE: TEST_ROOT_DIR = ${TEST_ROOT_DIR}")
|
|
|
+message(STATUS "TEST: CNSTREAM_ROOT_DIR = ${CNSTREAM_ROOT_DIR}")
|
|
|
+message(STATUS "TEST: TEST_ROOT_DIR = ${TEST_ROOT_DIR}")
|
|
|
# # compile flags
|
|
|
# set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG -O2")
|
|
|
# set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG -g")
|
|
@@ -31,8 +31,8 @@ if(build_kafka)
|
|
|
include_directories(${RDKAFKA_INCLUDE_DIR})
|
|
|
list(APPEND 3RDPARTY_LIBS ${RDKAFKA_LIBRARIES})
|
|
|
#link_directories(${RDKAFKA_LINK_DIR})
|
|
|
- message(STATUS "Test: RDKafka include: ${RDKAFKA_INCLUDE_DIR}")
|
|
|
- message(STATUS "Test: RDKafka libraries: ${RDKAFKA_LIBRARIES}")
|
|
|
+ message(STATUS "TEST: RDKafka include: ${RDKAFKA_INCLUDE_DIR}")
|
|
|
+ message(STATUS "TEST: RDKafka libraries: ${RDKAFKA_LIBRARIES}")
|
|
|
endif()
|
|
|
|
|
|
set(ENABLE_MYSQL ON CACHE BOOL "enable mysql")
|
|
@@ -54,8 +54,8 @@ find_package(ZLToolKit REQUIRED)
|
|
|
#link_directories(${ZLTOOLKIT_LINK_DIR})
|
|
|
include_directories(${ZLTOOLKIT_INCLUDE_DIR})
|
|
|
list(APPEND 3RDPARTY_LIBS ${ZLTOOLKIT_LIBRARIES})
|
|
|
-message(STATUS "Test: ZLToolKit include: ${ZLTOOLKIT_INCLUDE_DIR}")
|
|
|
-message(STATUS "Test: ZLToolKit libraries: ${ZLTOOLKIT_LIBRARIES}")
|
|
|
+message(STATUS "TEST: ZLToolKit include: ${ZLTOOLKIT_INCLUDE_DIR}")
|
|
|
+message(STATUS "TEST: ZLToolKit libraries: ${ZLTOOLKIT_LIBRARIES}")
|
|
|
|
|
|
# ---[ rapidjson
|
|
|
include_directories(${CNSTREAM_ROOT_DIR}/3rdparty/)
|
|
@@ -87,7 +87,7 @@ aux_source_directory(${CNSTREAM_ROOT_DIR}/test/src tests)
|
|
|
aux_source_directory(${CNSTREAM_ROOT_DIR}/test/TestApp/src testApps)
|
|
|
|
|
|
# ---[ add targets
|
|
|
-set(EXECUTABLE_OUTPUT_PATH ${TEST_ROOT_DIR}/bin)
|
|
|
+# set(EXECUTABLE_OUTPUT_PATH ${TEST_ROOT_DIR}/bin)
|
|
|
|
|
|
#add_executable(gsd ${srcs} ${userApps} ${3RDPARTY_LIBS})
|
|
|
#target_link_libraries(gsd gsd_core gsd_modules gsd_plugins ${3RDPARTY_LIBS} pthread dl)
|