|
|
|
# TEST_RUNNER
|
|
add_executable(test_runner
|
|
AllTests.cpp
|
|
)
|
|
|
|
target_link_libraries(test_runner
|
|
${CPPUTEST_LDFLAGS}
|
|
simple_test
|
|
)
|
|
|
|
|
|
# TEST_DIRS
|
|
add_subdirectory(simple_test)
|
|
|
|
# INCLUDE_DIRS
|
|
|
|
|
|
# Build unit tests and link with other sources.
|
|
|
|
# Run the tests once build finished.
|
|
|