edited to first include the simple_test directory, also using the correct link libs now

This commit is contained in:
jakeg00dwin 2024-03-15 14:19:45 -07:00
parent 46da670968
commit 46710be9b5
1 changed files with 13 additions and 11 deletions

View File

@ -1,18 +1,20 @@
project(Tests)
# TEST_RUNNER
add_executable(test_runner
AllTests.cpp
)
target_link_libraries(test_runner
${CPPUTEST_LDFLAGS}
simple_test
)
# TEST_DIRS # TEST_DIRS
add_subdirectory(simple_test) 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 # INCLUDE_DIRS