2026-02-08 12:09:02 +01:00
|
|
|
# this will trigger the FetchContent
|
|
|
|
|
include(testgoogle)
|
2025-06-13 22:23:20 +00:00
|
|
|
|
|
|
|
|
add_executable(libpixelarium_UnitTests
|
2026-02-08 12:09:02 +01:00
|
|
|
lib/resources/test_resource.cpp
|
|
|
|
|
lib/utilities/test_simple_thread_pool.cpp)
|
2025-06-13 22:23:20 +00:00
|
|
|
|
|
|
|
|
target_link_libraries(libpixelarium_UnitTests
|
2026-02-08 12:09:02 +01:00
|
|
|
pixelarium::lib::resources_static
|
|
|
|
|
pixelarium::lib::imaging_static
|
2025-06-13 22:23:20 +00:00
|
|
|
GTest::gtest_main
|
|
|
|
|
GTest::gmock)
|
|
|
|
|
|
|
|
|
|
include(GoogleTest)
|
|
|
|
|
gtest_discover_tests(libpixelarium_UnitTests)
|