From 3ba1ee60337c5e74027acb6f89a16e5ff3aa345c Mon Sep 17 00:00:00 2001 From: open-license-manager <rillf@maildrop.cc> Date: 周一, 14 4月 2014 15:47:14 +0800 Subject: [PATCH] test with date --- test/functional/CMakeLists.txt | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/test/functional/CMakeLists.txt b/test/functional/CMakeLists.txt index 4e3773d..a343dc6 100644 --- a/test/functional/CMakeLists.txt +++ b/test/functional/CMakeLists.txt @@ -1,14 +1,32 @@ +ADD_LIBRARY(license_generator_snippet STATIC + generate-license.cpp +) +target_link_libraries( + license_generator_snippet + license_generator_lib +) add_executable( standard_license_test standard-license_test.cpp ) - target_link_libraries( standard_license_test license++_static - license_generator_lib + license_generator_snippet ) - SET_TARGET_PROPERTIES(standard_license_test PROPERTIES LINK_SEARCH_START_STATIC ON) + +add_executable( + date_test + date_test.cpp +) +target_link_libraries( + date_test + license++_static + license_generator_snippet +) +SET_TARGET_PROPERTIES(date_test PROPERTIES LINK_SEARCH_START_STATIC ON) + ADD_TEST(standard_license_test ${EXECUTABLE_OUTPUT_PATH}/standard_license_test) +ADD_TEST(date_test ${EXECUTABLE_OUTPUT_PATH}/date_test) \ No newline at end of file -- Gitblit v1.9.1