From ac3cb02be83c5257e46b3fda5686a8446c04d576 Mon Sep 17 00:00:00 2001 From: Andreas Schuh Date: Thu, 1 Aug 2013 01:59:32 +0100 Subject: [PATCH] Add missing unittest2 and unittest3 executables. --- test/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1157426..a2d0411 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -9,13 +9,19 @@ set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/Testing/lib") set (TEMPDIR "${PROJECT_BINARY_DIR}/Testing/Temporary") # ---------------------------------------------------------------------------- -# common link libraries +# common include directories and link libraries +include_directories ("${CMAKE_CURRENT_SOURCE_DIR}") link_libraries (gflags) # ---------------------------------------------------------------------------- # test executables +configure_file (gflags_unittest.cc gflags_unittest-main.cc COPYONLY) +configure_file (gflags_unittest.cc gflags_unittest_main.cc COPYONLY) + add_executable (strip_flags gflags_strip_flags_test.cc) add_executable (unittest gflags_unittest.cc) +add_executable (unittest2 gflags_unittest-main.cc) +add_executable (unittest3 gflags_unittest_main.cc) # ---------------------------------------------------------------------------- # test commands