Просмотр исходного кода

Help: Make sure all deprecated utility modules have a notice

Nikita Nemkin 11 месяцев назад
Родитель
Сommit
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/InstallRequiredSystemLibraries
    /module/ProcessorCount
    /module/ProcessorCount
    /module/SelectLibraryConfigurations
    /module/SelectLibraryConfigurations
-   /module/SquishTestScript
    /module/TestForANSIForScope
    /module/TestForANSIForScope
    /module/TestForANSIStreamHeaders
    /module/TestForANSIStreamHeaders
    /module/TestForSSTREAM
    /module/TestForSSTREAM
@@ -275,12 +274,13 @@ Deprecated Utility Modules
    /module/Documentation
    /module/Documentation
    /module/GetPrerequisites
    /module/GetPrerequisites
    /module/MacroAddFileDependencies
    /module/MacroAddFileDependencies
+   /module/SquishTestScript
    /module/TestBigEndian
    /module/TestBigEndian
    /module/TestCXXAcceptsFlag
    /module/TestCXXAcceptsFlag
+   /module/Use_wxWindows
    /module/UseJavaClassFilelist
    /module/UseJavaClassFilelist
    /module/UseJavaSymlinks
    /module/UseJavaSymlinks
    /module/UsePkgConfig
    /module/UsePkgConfig
-   /module/Use_wxWindows
    /module/WriteBasicConfigVersionFile
    /module/WriteBasicConfigVersionFile
    /module/WriteCompilerDetectionHeader
    /module/WriteCompilerDetectionHeader
 
 

+ 2 - 0
Modules/CMakeParseArguments.cmake

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

+ 1 - 4
Modules/SquishTestScript.cmake

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

+ 2 - 3
Modules/UsePkgConfig.cmake

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