28 lines
492 B
CMake
28 lines
492 B
CMake
add_executable(ExampleTests
|
|
AllTests.cpp
|
|
CircularBufferTest.cpp
|
|
EventDispatcherTest.cpp
|
|
FEDemoTest.cpp
|
|
HelloTest.cpp
|
|
MockDocumentationTest.cpp
|
|
PrinterTest.cpp
|
|
)
|
|
|
|
target_include_directories(ExampleTests
|
|
PRIVATE
|
|
.
|
|
)
|
|
|
|
target_compile_options(ExampleTests
|
|
PRIVATE $<$<BOOL:${MSVC}>:/wd4723>
|
|
)
|
|
|
|
target_link_libraries(ExampleTests
|
|
PRIVATE
|
|
ApplicationLib
|
|
CppUTest::CppUTestExt
|
|
)
|
|
|
|
include(CppUTest)
|
|
cpputest_discover_tests(ExampleTests)
|