From 55f87d90a521f73c11408383bfc3fc7d84cc70ff Mon Sep 17 00:00:00 2001 From: open-license-manager <rillf@maildrop.cc> Date: 周五, 01 8月 2014 23:52:41 +0800 Subject: [PATCH] new default identification method --- test/functional/CMakeLists.txt | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/test/functional/CMakeLists.txt b/test/functional/CMakeLists.txt index 4e3773d..66c8195 100644 --- a/test/functional/CMakeLists.txt +++ b/test/functional/CMakeLists.txt @@ -1,3 +1,10 @@ +ADD_LIBRARY(license_generator_snippet STATIC + generate-license.cpp +) +target_link_libraries( + license_generator_snippet + license_generator_lib +) add_executable( standard_license_test @@ -7,8 +14,33 @@ 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_executable( + volid_test + volid_test.cpp +) +target_link_libraries( + volid_test + license++_static + license_generator_snippet ) -SET_TARGET_PROPERTIES(standard_license_test PROPERTIES LINK_SEARCH_START_STATIC ON) +SET_TARGET_PROPERTIES(volid_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) +ADD_TEST(volid_test ${EXECUTABLE_OUTPUT_PATH}/volid_test) -- Gitblit v1.9.1