Help: replace deprecated $<CONFIGURATION> generator expression

The `$<CONFIGURATION>` genex has been deprecated since CMake 3.0.
Use `$<CONFIG>` instead in the `add_test` example.
This commit is contained in:
NeroBurner
2020-12-21 05:26:22 -05:00
committed by Brad King
parent c89514a6a4
commit af7882ba6e

View File

@@ -57,7 +57,7 @@ Example usage:
.. code-block:: cmake
add_test(NAME mytest
COMMAND testDriver --config $<CONFIGURATION>
COMMAND testDriver --config $<CONFIG>
--exe $<TARGET_FILE:myexe>)
This creates a test ``mytest`` whose command runs a ``testDriver`` tool