Browse Source

Help: replace deprecated $<CONFIGURATION> generator expression

The `$<CONFIGURATION>` genex has been deprecated since CMake 3.0.
Use `$<CONFIG>` instead in the `add_test` example.
NeroBurner 5 years ago
parent
commit
af7882ba6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Help/command/add_test.rst

+ 1 - 1
Help/command/add_test.rst

@@ -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