edited to first include the simple_test directory, also using the correct link libs now
This commit is contained in:
parent
46da670968
commit
46710be9b5
|
@ -1,18 +1,20 @@
|
|||
|
||||
# TEST_RUNNER
|
||||
add_executable(test_runner
|
||||
AllTests.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(test_runner
|
||||
${CPPUTEST_LDFLAGS}
|
||||
simple_test
|
||||
)
|
||||
|
||||
project(Tests)
|
||||
|
||||
# TEST_DIRS
|
||||
add_subdirectory(simple_test)
|
||||
|
||||
# TEST_RUNNER
|
||||
add_executable(AllTests
|
||||
AllTests.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(AllTests
|
||||
${CPPUTEST_LIBRARIES}/libCppUTest.a
|
||||
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
|
||||
simple_test
|
||||
)
|
||||
|
||||
|
||||
# INCLUDE_DIRS
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue