File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ add_executable(
241241 $<TARGET_OBJECTS:objCommonSimpleLog>
242242 $<TARGET_OBJECTS:objCommonDaemon>
243243 $<TARGET_OBJECTS:objCommonThread>
244+ $<TARGET_OBJECTS:objCommonTimer>
244245 src/infoLoggerServer.cxx
245246 src/InfoLoggerDispatch.cxx
246247 src/InfoLoggerDispatchBrowser.cxx
@@ -375,6 +376,7 @@ set(TEST_SRCS
375376 test /testInfoLogger.c
376377 test /testInfoLogger.cxx
377378 test /testInfoLoggerPerf.cxx
379+ test /testInfoLoggerDB.cxx
378380)
379381foreach (f ${TEST_SRCS} )
380382 get_filename_component (test_name ${f} NAME )
@@ -387,6 +389,19 @@ foreach (f ${TEST_SRCS})
387389 add_test (NAME ${test_name} COMMAND ${exe} )
388390endforeach ()
389391
392+ target_include_directories (
393+ testInfoLoggerDB.exe
394+ PRIVATE
395+ ${INFOLOGGER_INCLUDE_DIRS_PUBLIC}
396+ ${COMMON_STANDALONE_INCLUDE_DIRS}
397+ ${MYSQL_INCLUDE_DIRS}
398+ )
399+ target_link_libraries (
400+ testInfoLoggerDB.exe
401+ pthread
402+ ${MYSQL_LIBRARIES}
403+ )
404+
390405
391406# define what should be built
392407# exclude modules requiring optional dependencies not found
You can’t perform that action at this time.
0 commit comments