Spit unit tests.
This commit is contained in:
@@ -2,8 +2,10 @@ cmake_minimum_required (VERSION 2.6)
|
||||
|
||||
link_directories(${Boost_LIBRARY_DIRS})
|
||||
|
||||
add_executable(unittest unittest.cpp)
|
||||
add_executable(AttributesTest AttributesTest.cpp)
|
||||
target_link_libraries(AttributesTest ${Boost_LIBRARIES})
|
||||
add_test(AttributesTest AttributesTest)
|
||||
|
||||
target_link_libraries(unittest ${Boost_LIBRARIES})
|
||||
|
||||
add_test(unittest unittest)
|
||||
add_executable(String2typeTest String2typeTest.cpp)
|
||||
target_link_libraries(String2typeTest ${Boost_LIBRARIES})
|
||||
add_test(String2typeTest String2typeTest)
|
||||
|
||||
Reference in New Issue
Block a user