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/library/CMakeLists.txt |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/test/library/CMakeLists.txt b/test/library/CMakeLists.txt
index 6a1f0d0..c8c638c 100644
--- a/test/library/CMakeLists.txt
+++ b/test/library/CMakeLists.txt
@@ -1 +1,15 @@
-add_subdirectory(reader)
\ No newline at end of file
+link_directories ( ${Boost_LIBRARY_DIRS} )
+
+add_executable(
+ license_reader_test
+ LicenseReader_test.cpp
+)
+
+target_link_libraries(
+ license_reader_test
+ license++_static
+ ${Boost_LIBRARIES}
+)
+
+SET_TARGET_PROPERTIES(license_reader_test PROPERTIES LINK_SEARCH_START_STATIC ON)
+ADD_TEST(license_reader_test ${EXECUTABLE_OUTPUT_PATH}/LicenseReader_test)

--
Gitblit v1.9.1