Darryl Pogue
11 years ago
committed by
Anne Marije v/d Meer
8 changed files with 47 additions and 37 deletions
@ -1,16 +0,0 @@
|
||||
project(CoreLibTests) |
||||
|
||||
include_directories(${GTEST_INCLUDE_DIR}) |
||||
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR}) |
||||
include_directories(../../Plasma/CoreLib) |
||||
SET(TEST_PLSTRING |
||||
PlStringTest.cpp) |
||||
|
||||
add_executable(plStringTest ${TEST_PLSTRING}) |
||||
|
||||
target_link_libraries(plStringTest gtest gtest_main CoreLib) |
||||
|
||||
add_test( |
||||
NAME plStringTest |
||||
COMMAND plStringTest |
||||
) |
@ -0,0 +1,15 @@
|
||||
include_directories(${GTEST_INCLUDE_DIR}) |
||||
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR}) |
||||
include_directories(../../Plasma/CoreLib) |
||||
|
||||
SET(CoreLibTest_SOURCES |
||||
test_plString.cpp |
||||
) |
||||
|
||||
add_executable(test_CoreLib ${CoreLibTest_SOURCES}) |
||||
|
||||
target_link_libraries(test_CoreLib gtest gtest_main) |
||||
target_link_libraries(test_CoreLib CoreLib) |
||||
|
||||
add_test(NAME test_CoreLib COMMAND test_CoreLib) |
||||
add_dependencies(check test_CoreLib) |
Loading…
Reference in new issue