mirror of
https://github.com/reactos/CMake.git
synced 2025-02-25 22:45:40 +00:00

This tests whether GIFLIB can be found and the linker works. For newer versions (>=5) it also tests if the version was parsed correctly.
11 lines
343 B
CMake
11 lines
343 B
CMake
add_test(NAME FindGIF.Test COMMAND
|
|
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
|
|
--build-and-test
|
|
"${CMake_SOURCE_DIR}/Tests/FindGIF/Test"
|
|
"${CMake_BINARY_DIR}/Tests/FindGIF/Test"
|
|
${build_generator_args}
|
|
--build-project TestFindGIF
|
|
--build-options ${build_options}
|
|
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
|
|
)
|