Browse Source

Help: Make sure all deprecated utility modules have a notice

Nikita Nemkin 11 months ago
parent
commit
bbbf3536c9

+ 2 - 2
Help/manual/cmake-modules.7.rst

@@ -85,7 +85,6 @@ These modules are loaded using the :command:`include` command.
    /module/InstallRequiredSystemLibraries
    /module/ProcessorCount
    /module/SelectLibraryConfigurations
-   /module/SquishTestScript
    /module/TestForANSIForScope
    /module/TestForANSIStreamHeaders
    /module/TestForSSTREAM
@@ -275,12 +274,13 @@ Deprecated Utility Modules
    /module/Documentation
    /module/GetPrerequisites
    /module/MacroAddFileDependencies
+   /module/SquishTestScript
    /module/TestBigEndian
    /module/TestCXXAcceptsFlag
+   /module/Use_wxWindows
    /module/UseJavaClassFilelist
    /module/UseJavaSymlinks
    /module/UsePkgConfig
-   /module/Use_wxWindows
    /module/WriteBasicConfigVersionFile
    /module/WriteCompilerDetectionHeader
 

+ 2 - 0
Modules/CMakeParseArguments.cmake

@@ -5,6 +5,8 @@
 CMakeParseArguments
 -------------------
 
+.. deprecated:: 3.5
+
 This module once implemented the :command:`cmake_parse_arguments` command
 that is now implemented natively by CMake.  It is now an empty placeholder
 for compatibility with projects that include it to get the command from

+ 1 - 4
Modules/SquishTestScript.cmake

@@ -4,10 +4,7 @@
 #[=======================================================================[.rst:
 SquishTestScript
 ----------------
-
-
-
-
+.. deprecated:: 3.0
 
 This script launches a GUI test using Squish.  You should not call the
 script directly; instead, you should access it via the SQUISH_ADD_TEST

+ 2 - 3
Modules/UsePkgConfig.cmake

@@ -5,9 +5,8 @@
 UsePkgConfig
 ------------
 
-Obsolete pkg-config module for CMake, use FindPkgConfig instead.
-
-
+.. deprecated:: 3.0
+  Use :module:`FindPkgConfig` instead.
 
 This module defines the following macro: