Merge branch 'release-doc-formatting' into doc-formatting
Resolve conflict in Modules/ExternalProject.cmake by keeping our side, which is more completely revised.
This commit is contained in:
commit
67c4be51a3
|
@ -133,14 +133,17 @@ Creates an :ref:`Interface Library <Interface Libraries>`. An ``INTERFACE``
|
||||||
library target does not directly create build output, though it may
|
library target does not directly create build output, though it may
|
||||||
have properties set on it and it may be installed, exported and
|
have properties set on it and it may be installed, exported and
|
||||||
imported. Typically the ``INTERFACE_*`` properties are populated on
|
imported. Typically the ``INTERFACE_*`` properties are populated on
|
||||||
the interface target using the :command:`set_property`,
|
the interface target using the commands:
|
||||||
:command:`target_link_libraries(INTERFACE)`,
|
|
||||||
:command:`target_include_directories(INTERFACE)`,
|
* :command:`set_property`,
|
||||||
:command:`target_compile_options(INTERFACE)`,
|
* :command:`target_link_libraries(INTERFACE)`,
|
||||||
:command:`target_compile_definitions(INTERFACE)`,
|
* :command:`target_include_directories(INTERFACE)`,
|
||||||
and :command:`target_sources(INTERFACE)` commands, and then it
|
* :command:`target_compile_options(INTERFACE)`,
|
||||||
is used as an argument to :command:`target_link_libraries` like any other
|
* :command:`target_compile_definitions(INTERFACE)`, and
|
||||||
target.
|
* :command:`target_sources(INTERFACE)`,
|
||||||
|
|
||||||
|
and then it is used as an argument to :command:`target_link_libraries`
|
||||||
|
like any other target.
|
||||||
|
|
||||||
An ``INTERFACE`` :ref:`Imported Target <Imported Targets>` may also be
|
An ``INTERFACE`` :ref:`Imported Target <Imported Targets>` may also be
|
||||||
created with this signature. An ``IMPORTED`` library target references a
|
created with this signature. An ``IMPORTED`` library target references a
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-buildsystem(7)
|
cmake-buildsystem(7)
|
||||||
********************
|
********************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-commands(7)
|
cmake-commands(7)
|
||||||
*****************
|
*****************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-compile-features(7)
|
cmake-compile-features(7)
|
||||||
*************************
|
*************************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-developer(7)
|
cmake-developer(7)
|
||||||
******************
|
******************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-generator-expressions(7)
|
cmake-generator-expressions(7)
|
||||||
******************************
|
******************************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-generators(7)
|
cmake-generators(7)
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-language(7)
|
cmake-language(7)
|
||||||
*****************
|
*****************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
@ -79,6 +79,10 @@ A CMake Language source file consists of zero or more
|
||||||
`Command Invocations`_ separated by newlines and optionally
|
`Command Invocations`_ separated by newlines and optionally
|
||||||
spaces and `Comments`_:
|
spaces and `Comments`_:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
file: `file_element`*
|
file: `file_element`*
|
||||||
file_element: `command_invocation` `line_ending` |
|
file_element: `command_invocation` `line_ending` |
|
||||||
|
@ -87,6 +91,10 @@ spaces and `Comments`_:
|
||||||
space: <match '[ \t]+'>
|
space: <match '[ \t]+'>
|
||||||
newline: <match '\n'>
|
newline: <match '\n'>
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
Note that any source file line not inside `Command Arguments`_ or
|
Note that any source file line not inside `Command Arguments`_ or
|
||||||
a `Bracket Comment`_ can end in a `Line Comment`_.
|
a `Bracket Comment`_ can end in a `Line Comment`_.
|
||||||
|
|
||||||
|
@ -98,6 +106,10 @@ Command Invocations
|
||||||
A *command invocation* is a name followed by paren-enclosed arguments
|
A *command invocation* is a name followed by paren-enclosed arguments
|
||||||
separated by whitespace:
|
separated by whitespace:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
command_invocation: `space`* `identifier` `space`* '(' `arguments` ')'
|
command_invocation: `space`* `identifier` `space`* '(' `arguments` ')'
|
||||||
identifier: <match '[A-Za-z_][A-Za-z0-9_]*'>
|
identifier: <match '[A-Za-z_][A-Za-z0-9_]*'>
|
||||||
|
@ -106,6 +118,10 @@ separated by whitespace:
|
||||||
: `separation`* '(' `arguments` ')'
|
: `separation`* '(' `arguments` ')'
|
||||||
separation: `space` | `line_ending`
|
separation: `space` | `line_ending`
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block:: cmake
|
.. code-block:: cmake
|
||||||
|
@ -137,9 +153,17 @@ Command Arguments
|
||||||
|
|
||||||
There are three types of arguments within `Command Invocations`_:
|
There are three types of arguments within `Command Invocations`_:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
argument: `bracket_argument` | `quoted_argument` | `unquoted_argument`
|
argument: `bracket_argument` | `quoted_argument` | `unquoted_argument`
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
.. _`Bracket Argument`:
|
.. _`Bracket Argument`:
|
||||||
|
|
||||||
Bracket Argument
|
Bracket Argument
|
||||||
|
@ -149,6 +173,10 @@ A *bracket argument*, inspired by `Lua`_ long bracket syntax,
|
||||||
encloses content between opening and closing "brackets" of the
|
encloses content between opening and closing "brackets" of the
|
||||||
same length:
|
same length:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
bracket_argument: `bracket_open` `bracket_content` `bracket_close`
|
bracket_argument: `bracket_open` `bracket_content` `bracket_close`
|
||||||
bracket_open: '[' '='{len} '['
|
bracket_open: '[' '='{len} '['
|
||||||
|
@ -156,6 +184,10 @@ same length:
|
||||||
: of the same {len} as the `bracket_open`>
|
: of the same {len} as the `bracket_open`>
|
||||||
bracket_close: ']' '='{len} ']'
|
bracket_close: ']' '='{len} ']'
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
An opening bracket of length *len >= 0* is written ``[`` followed
|
An opening bracket of length *len >= 0* is written ``[`` followed
|
||||||
by *len* ``=`` followed by ``[`` and the corresponding closing
|
by *len* ``=`` followed by ``[`` and the corresponding closing
|
||||||
bracket is written ``]`` followed by *len* ``=`` followed by ``]``.
|
bracket is written ``]`` followed by *len* ``=`` followed by ``]``.
|
||||||
|
@ -197,6 +229,10 @@ Quoted Argument
|
||||||
A *quoted argument* encloses content between opening and closing
|
A *quoted argument* encloses content between opening and closing
|
||||||
double-quote characters:
|
double-quote characters:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
quoted_argument: '"' `quoted_element`* '"'
|
quoted_argument: '"' `quoted_element`* '"'
|
||||||
quoted_element: <any character except '\' or '"'> |
|
quoted_element: <any character except '\' or '"'> |
|
||||||
|
@ -204,6 +240,10 @@ double-quote characters:
|
||||||
: `quoted_continuation`
|
: `quoted_continuation`
|
||||||
quoted_continuation: '\' `newline`
|
quoted_continuation: '\' `newline`
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
Quoted argument content consists of all text between opening and
|
Quoted argument content consists of all text between opening and
|
||||||
closing quotes. Both `Escape Sequences`_ and `Variable References`_
|
closing quotes. Both `Escape Sequences`_ and `Variable References`_
|
||||||
are evaluated. A quoted argument is always given to the command
|
are evaluated. A quoted argument is always given to the command
|
||||||
|
@ -246,12 +286,20 @@ An *unquoted argument* is not enclosed by any quoting syntax.
|
||||||
It may not contain any whitespace, ``(``, ``)``, ``#``, ``"``, or ``\``
|
It may not contain any whitespace, ``(``, ``)``, ``#``, ``"``, or ``\``
|
||||||
except when escaped by a backslash:
|
except when escaped by a backslash:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
unquoted_argument: `unquoted_element`+ | `unquoted_legacy`
|
unquoted_argument: `unquoted_element`+ | `unquoted_legacy`
|
||||||
unquoted_element: <any character except whitespace or one of '()#"\'> |
|
unquoted_element: <any character except whitespace or one of '()#"\'> |
|
||||||
: `escape_sequence`
|
: `escape_sequence`
|
||||||
unquoted_legacy: <see note in text>
|
unquoted_legacy: <see note in text>
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
Unquoted argument content consists of all text in a contiguous block
|
Unquoted argument content consists of all text in a contiguous block
|
||||||
of allowed or escaped characters. Both `Escape Sequences`_ and
|
of allowed or escaped characters. Both `Escape Sequences`_ and
|
||||||
`Variable References`_ are evaluated. The resulting value is divided
|
`Variable References`_ are evaluated. The resulting value is divided
|
||||||
|
@ -294,12 +342,20 @@ Escape Sequences
|
||||||
|
|
||||||
An *escape sequence* is a ``\`` followed by one character:
|
An *escape sequence* is a ``\`` followed by one character:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
escape_sequence: `escape_identity` | `escape_encoded` | `escape_semicolon`
|
escape_sequence: `escape_identity` | `escape_encoded` | `escape_semicolon`
|
||||||
escape_identity: '\' <match '[^A-Za-z0-9;]'>
|
escape_identity: '\' <match '[^A-Za-z0-9;]'>
|
||||||
escape_encoded: '\t' | '\r' | '\n'
|
escape_encoded: '\t' | '\r' | '\n'
|
||||||
escape_semicolon: '\;'
|
escape_semicolon: '\;'
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
A ``\`` followed by a non-alphanumeric character simply encodes the literal
|
A ``\`` followed by a non-alphanumeric character simply encodes the literal
|
||||||
character without interpreting it as syntax. A ``\t``, ``\r``, or ``\n``
|
character without interpreting it as syntax. A ``\t``, ``\r``, or ``\n``
|
||||||
encodes a tab, carriage return, or newline character, respectively. A ``\;``
|
encodes a tab, carriage return, or newline character, respectively. A ``\;``
|
||||||
|
@ -348,9 +404,17 @@ Bracket Comment
|
||||||
A ``#`` immediately followed by a `Bracket Argument`_ forms a
|
A ``#`` immediately followed by a `Bracket Argument`_ forms a
|
||||||
*bracket comment* consisting of the entire bracket enclosure:
|
*bracket comment* consisting of the entire bracket enclosure:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
bracket_comment: '#' `bracket_argument`
|
bracket_comment: '#' `bracket_argument`
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block:: cmake
|
.. code-block:: cmake
|
||||||
|
@ -371,10 +435,18 @@ Line Comment
|
||||||
A ``#`` not immediately followed by a `Bracket Argument`_ forms a
|
A ``#`` not immediately followed by a `Bracket Argument`_ forms a
|
||||||
*line comment* that runs until the end of the line:
|
*line comment* that runs until the end of the line:
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\begin{small}
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
line_comment: '#' <any text not starting in a `bracket_argument`
|
line_comment: '#' <any text not starting in a `bracket_argument`
|
||||||
: and not containing a `newline`>
|
: and not containing a `newline`>
|
||||||
|
|
||||||
|
.. raw:: latex
|
||||||
|
|
||||||
|
\end{small}
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block:: cmake
|
.. code-block:: cmake
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-modules(7)
|
cmake-modules(7)
|
||||||
****************
|
****************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-packages(7)
|
cmake-packages(7)
|
||||||
*****************
|
*****************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
@ -479,7 +479,7 @@ be true. This can be tested with logic in the package configuration file:
|
||||||
foreach(_comp ${ClimbingStats_FIND_COMPONENTS})
|
foreach(_comp ${ClimbingStats_FIND_COMPONENTS})
|
||||||
if (NOT ";${_supported_components};" MATCHES _comp)
|
if (NOT ";${_supported_components};" MATCHES _comp)
|
||||||
set(ClimbingStats_FOUND False)
|
set(ClimbingStats_FOUND False)
|
||||||
set(ClimbingStats_NOTFOUND_MESSAGE "Specified unsupported component: ${_comp}")
|
set(ClimbingStats_NOTFOUND_MESSAGE "Unsupported component: ${_comp}")
|
||||||
endif()
|
endif()
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStats${_comp}Targets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStats${_comp}Targets.cmake")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-policies(7)
|
cmake-policies(7)
|
||||||
*****************
|
*****************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-properties(7)
|
cmake-properties(7)
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-qt(7)
|
cmake-qt(7)
|
||||||
***********
|
***********
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-toolchains(7)
|
cmake-toolchains(7)
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cmake-variables(7)
|
cmake-variables(7)
|
||||||
******************
|
******************
|
||||||
|
|
||||||
.. only:: html or latex
|
.. only:: html
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -114,8 +114,8 @@
|
||||||
# installation prefix. Like::
|
# installation prefix. Like::
|
||||||
#
|
#
|
||||||
# set(CPACK_NSIS_MENU_LINKS
|
# set(CPACK_NSIS_MENU_LINKS
|
||||||
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
|
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html"
|
||||||
# "http://www.cmake.org" "CMake Web Site")
|
# "CMake Help" "http://www.cmake.org" "CMake Web Site")
|
||||||
#
|
#
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# ::
|
# ::
|
||||||
#
|
#
|
||||||
# -- The following OPTIONAL packages have been found:
|
# -- The following OPTIONAL packages have been found:
|
||||||
# LibXml2 (required version >= 2.4) , XML processing library. , <http://xmlsoft.org>
|
# LibXml2 (required version >= 2.4), XML processing lib, <http://xmlsoft.org>
|
||||||
# * Enables HTML-import in MyWordProcessor
|
# * Enables HTML-import in MyWordProcessor
|
||||||
# * Enables odt-export in MyWordProcessor
|
# * Enables odt-export in MyWordProcessor
|
||||||
# PNG , A PNG image library. , <http://www.libpng.org/pub/png/>
|
# PNG , A PNG image library. , <http://www.libpng.org/pub/png/>
|
||||||
|
|
|
@ -278,13 +278,13 @@
|
||||||
# Only available for CUDA version 3.2+.
|
# Only available for CUDA version 3.2+.
|
||||||
# CUDA_cusparse_LIBRARY -- CUDA Sparse Matrix library.
|
# CUDA_cusparse_LIBRARY -- CUDA Sparse Matrix library.
|
||||||
# Only available for CUDA version 3.2+.
|
# Only available for CUDA version 3.2+.
|
||||||
# CUDA_npp_LIBRARY -- NVIDIA Performance Primitives library.
|
# CUDA_npp_LIBRARY -- NVIDIA Performance Primitives lib.
|
||||||
# Only available for CUDA version 4.0+.
|
# Only available for CUDA version 4.0+.
|
||||||
# CUDA_nppc_LIBRARY -- NVIDIA Performance Primitives library (core).
|
# CUDA_nppc_LIBRARY -- NVIDIA Performance Primitives lib (core).
|
||||||
# Only available for CUDA version 5.5+.
|
# Only available for CUDA version 5.5+.
|
||||||
# CUDA_nppi_LIBRARY -- NVIDIA Performance Primitives library (image processing).
|
# CUDA_nppi_LIBRARY -- NVIDIA Performance Primitives lib (image processing).
|
||||||
# Only available for CUDA version 5.5+.
|
# Only available for CUDA version 5.5+.
|
||||||
# CUDA_npps_LIBRARY -- NVIDIA Performance Primitives library (signal processing).
|
# CUDA_npps_LIBRARY -- NVIDIA Performance Primitives lib (signal processing).
|
||||||
# Only available for CUDA version 5.5+.
|
# Only available for CUDA version 5.5+.
|
||||||
# CUDA_nvcuvenc_LIBRARY -- CUDA Video Encoder library.
|
# CUDA_nvcuvenc_LIBRARY -- CUDA Video Encoder library.
|
||||||
# Only available for CUDA version 3.2+.
|
# Only available for CUDA version 3.2+.
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Additionally it provides the following macros:
|
# Additionally it provides the following macros:
|
||||||
|
#
|
||||||
# GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ... fileN )
|
# GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ... fileN )
|
||||||
#
|
#
|
||||||
# ::
|
# ::
|
||||||
|
@ -32,8 +33,9 @@
|
||||||
# ::
|
# ::
|
||||||
#
|
#
|
||||||
# Process the given pot file to mo files.
|
# Process the given pot file to mo files.
|
||||||
# If INSTALL_DESTINATION is given then automatically install rules will be created,
|
# If INSTALL_DESTINATION is given then automatically install rules will
|
||||||
# the language subdirectory will be taken into account (by default use share/locale/).
|
# be created, the language subdirectory will be taken into account
|
||||||
|
# (by default use share/locale/).
|
||||||
# If ALL is specified, the pot file is processed when building the all traget.
|
# If ALL is specified, the pot file is processed when building the all traget.
|
||||||
# It creates a custom target "potfile".
|
# It creates a custom target "potfile".
|
||||||
#
|
#
|
||||||
|
@ -43,8 +45,9 @@
|
||||||
# ::
|
# ::
|
||||||
#
|
#
|
||||||
# Process the given po files to mo files for the given language.
|
# Process the given po files to mo files for the given language.
|
||||||
# If INSTALL_DESTINATION is given then automatically install rules will be created,
|
# If INSTALL_DESTINATION is given then automatically install rules will
|
||||||
# the language subdirectory will be taken into account (by default use share/locale/).
|
# be created, the language subdirectory will be taken into account
|
||||||
|
# (by default use share/locale/).
|
||||||
# If ALL is specified, the po files are processed when building the all traget.
|
# If ALL is specified, the po files are processed when building the all traget.
|
||||||
# It creates a custom target "pofiles".
|
# It creates a custom target "pofiles".
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# Java_JAVAH_EXECUTABLE = the full path to the Java header generator
|
# Java_JAVAH_EXECUTABLE = the full path to the Java header generator
|
||||||
# Java_JAVADOC_EXECUTABLE = the full path to the Java documention generator
|
# Java_JAVADOC_EXECUTABLE = the full path to the Java documention generator
|
||||||
# Java_JAR_EXECUTABLE = the full path to the Java archiver
|
# Java_JAR_EXECUTABLE = the full path to the Java archiver
|
||||||
# Java_VERSION_STRING = Version of the package found (java version), eg. 1.6.0_12
|
# Java_VERSION_STRING = Version of java found, eg. 1.6.0_12
|
||||||
# Java_VERSION_MAJOR = The major version of the package found.
|
# Java_VERSION_MAJOR = The major version of the package found.
|
||||||
# Java_VERSION_MINOR = The minor version of the package found.
|
# Java_VERSION_MINOR = The minor version of the package found.
|
||||||
# Java_VERSION_PATCH = The patch version of the package found.
|
# Java_VERSION_PATCH = The patch version of the package found.
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
# Additionally, the following two variables are set (but not required
|
# Additionally, the following two variables are set (but not required
|
||||||
# for using xslt):
|
# for using xslt):
|
||||||
#
|
#
|
||||||
# ::
|
# ``LIBXSLT_EXSLT_LIBRARIES``
|
||||||
#
|
# Link to these if you need to link against the exslt library.
|
||||||
# LIBXSLT_EXSLT_LIBRARIES - Link to these if you need to link against the exslt library
|
# ``LIBXSLT_XSLTPROC_EXECUTABLE``
|
||||||
# LIBXSLT_XSLTPROC_EXECUTABLE - Contains the full path to the xsltproc executable if found
|
# Contains the full path to the xsltproc executable if found.
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Copyright 2006-2009 Kitware, Inc.
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
|
|
@ -490,9 +490,10 @@ endmacro()
|
||||||
|
|
||||||
pkg_check_modules (XRENDER REQUIRED xrender)
|
pkg_check_modules (XRENDER REQUIRED xrender)
|
||||||
|
|
||||||
Defines e.g.:
|
Defines for example::
|
||||||
``XRENDER_LIBRARIES=Xrender;X11`` and
|
|
||||||
``XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp``
|
XRENDER_LIBRARIES=Xrender;X11``
|
||||||
|
XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
|
||||||
#]========================================]
|
#]========================================]
|
||||||
macro(pkg_check_modules _prefix _module0)
|
macro(pkg_check_modules _prefix _module0)
|
||||||
# check cached value
|
# check cached value
|
||||||
|
|
|
@ -2,127 +2,80 @@
|
||||||
# FindProtobuf
|
# FindProtobuf
|
||||||
# ------------
|
# ------------
|
||||||
#
|
#
|
||||||
#
|
|
||||||
#
|
|
||||||
# Locate and configure the Google Protocol Buffers library.
|
# Locate and configure the Google Protocol Buffers library.
|
||||||
#
|
#
|
||||||
# The following variables can be set and are optional:
|
# The following variables can be set and are optional:
|
||||||
#
|
#
|
||||||
# ::
|
# ``PROTOBUF_SRC_ROOT_FOLDER``
|
||||||
#
|
# When compiling with MSVC, if this cache variable is set
|
||||||
# PROTOBUF_SRC_ROOT_FOLDER - When compiling with MSVC, if this cache variable is set
|
# the protobuf-default VS project build locations
|
||||||
# the protobuf-default VS project build locations
|
# (vsprojects/Debug & vsprojects/Release) will be searched
|
||||||
# (vsprojects/Debug & vsprojects/Release) will be searched
|
# for libraries and binaries.
|
||||||
# for libraries and binaries.
|
# ``PROTOBUF_IMPORT_DIRS``
|
||||||
#
|
# List of additional directories to be searched for
|
||||||
#
|
# imported .proto files.
|
||||||
#
|
|
||||||
# ::
|
|
||||||
#
|
|
||||||
# PROTOBUF_IMPORT_DIRS - List of additional directories to be searched for
|
|
||||||
# imported .proto files. (New in CMake 2.8.8)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
#
|
||||||
# Defines the following variables:
|
# Defines the following variables:
|
||||||
#
|
#
|
||||||
# ::
|
# ``PROTOBUF_FOUND``
|
||||||
#
|
# Found the Google Protocol Buffers library
|
||||||
# PROTOBUF_FOUND - Found the Google Protocol Buffers library (libprotobuf & header files)
|
# (libprotobuf & header files)
|
||||||
# PROTOBUF_INCLUDE_DIRS - Include directories for Google Protocol Buffers
|
# ``PROTOBUF_INCLUDE_DIRS``
|
||||||
# PROTOBUF_LIBRARIES - The protobuf libraries
|
# Include directories for Google Protocol Buffers
|
||||||
#
|
# ``PROTOBUF_LIBRARIES``
|
||||||
# [New in CMake 2.8.5]
|
# The protobuf libraries
|
||||||
#
|
# ``PROTOBUF_PROTOC_LIBRARIES``
|
||||||
# ::
|
# The protoc libraries
|
||||||
#
|
# ``PROTOBUF_LITE_LIBRARIES``
|
||||||
# PROTOBUF_PROTOC_LIBRARIES - The protoc libraries
|
# The protobuf-lite libraries
|
||||||
# PROTOBUF_LITE_LIBRARIES - The protobuf-lite libraries
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
#
|
||||||
# The following cache variables are also available to set or use:
|
# The following cache variables are also available to set or use:
|
||||||
#
|
#
|
||||||
# ::
|
# ``PROTOBUF_LIBRARY``
|
||||||
|
# The protobuf library
|
||||||
|
# ``PROTOBUF_PROTOC_LIBRARY``
|
||||||
|
# The protoc library
|
||||||
|
# ``PROTOBUF_INCLUDE_DIR``
|
||||||
|
# The include directory for protocol buffers
|
||||||
|
# ``PROTOBUF_PROTOC_EXECUTABLE``
|
||||||
|
# The protoc compiler
|
||||||
|
# ``PROTOBUF_LIBRARY_DEBUG``
|
||||||
|
# The protobuf library (debug)
|
||||||
|
# ``PROTOBUF_PROTOC_LIBRARY_DEBUG``
|
||||||
|
# The protoc library (debug)
|
||||||
|
# ``PROTOBUF_LITE_LIBRARY``
|
||||||
|
# The protobuf lite library
|
||||||
|
# ``PROTOBUF_LITE_LIBRARY_DEBUG``
|
||||||
|
# The protobuf lite library (debug)
|
||||||
#
|
#
|
||||||
# PROTOBUF_LIBRARY - The protobuf library
|
# Example:
|
||||||
# PROTOBUF_PROTOC_LIBRARY - The protoc library
|
|
||||||
# PROTOBUF_INCLUDE_DIR - The include directory for protocol buffers
|
|
||||||
# PROTOBUF_PROTOC_EXECUTABLE - The protoc compiler
|
|
||||||
#
|
#
|
||||||
# [New in CMake 2.8.5]
|
# .. code-block:: cmake
|
||||||
#
|
#
|
||||||
# ::
|
# find_package(Protobuf REQUIRED)
|
||||||
|
# include_directories(${PROTOBUF_INCLUDE_DIRS})
|
||||||
|
# include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
# protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS foo.proto)
|
||||||
|
# add_executable(bar bar.cc ${PROTO_SRCS} ${PROTO_HDRS})
|
||||||
|
# target_link_libraries(bar ${PROTOBUF_LIBRARIES})
|
||||||
#
|
#
|
||||||
# PROTOBUF_LIBRARY_DEBUG - The protobuf library (debug)
|
# .. note::
|
||||||
# PROTOBUF_PROTOC_LIBRARY_DEBUG - The protoc library (debug)
|
# The PROTOBUF_GENERATE_CPP macro and add_executable() or
|
||||||
# PROTOBUF_LITE_LIBRARY - The protobuf lite library
|
# add_library() calls only work properly within the same
|
||||||
# PROTOBUF_LITE_LIBRARY_DEBUG - The protobuf lite library (debug)
|
# directory.
|
||||||
#
|
#
|
||||||
|
# .. command:: protobuf_generate_cpp
|
||||||
#
|
#
|
||||||
|
# Add custom commands to process ``.proto`` files::
|
||||||
#
|
#
|
||||||
# ::
|
# protobuf_generate_cpp (<SRCS> <HDRS> [<ARGN>...])
|
||||||
#
|
#
|
||||||
# ====================================================================
|
# ``SRCS``
|
||||||
# Example:
|
# Variable to define with autogenerated source files
|
||||||
#
|
# ``HDRS``
|
||||||
#
|
# Variable to define with autogenerated header files
|
||||||
#
|
# ``ARGN``
|
||||||
# ::
|
# ``.proto`` files
|
||||||
#
|
|
||||||
# find_package(Protobuf REQUIRED)
|
|
||||||
# include_directories(${PROTOBUF_INCLUDE_DIRS})
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# ::
|
|
||||||
#
|
|
||||||
# include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
||||||
# PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS foo.proto)
|
|
||||||
# add_executable(bar bar.cc ${PROTO_SRCS} ${PROTO_HDRS})
|
|
||||||
# target_link_libraries(bar ${PROTOBUF_LIBRARIES})
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# NOTE: You may need to link against pthreads, depending
|
|
||||||
#
|
|
||||||
# ::
|
|
||||||
#
|
|
||||||
# on the platform.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# NOTE: The PROTOBUF_GENERATE_CPP macro & add_executable() or
|
|
||||||
# add_library()
|
|
||||||
#
|
|
||||||
# ::
|
|
||||||
#
|
|
||||||
# calls only work properly within the same directory.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# ::
|
|
||||||
#
|
|
||||||
# ====================================================================
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# PROTOBUF_GENERATE_CPP (public function)
|
|
||||||
#
|
|
||||||
# ::
|
|
||||||
#
|
|
||||||
# SRCS = Variable to define with autogenerated
|
|
||||||
# source files
|
|
||||||
# HDRS = Variable to define with autogenerated
|
|
||||||
# header files
|
|
||||||
# ARGN = proto files
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# ::
|
|
||||||
#
|
|
||||||
# ====================================================================
|
|
||||||
|
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Copyright 2009 Kitware, Inc.
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
|
|
@ -104,9 +104,11 @@
|
||||||
# macro QT4_ADD_DBUS_INTERFACES(outfiles inputfile ... )
|
# macro QT4_ADD_DBUS_INTERFACES(outfiles inputfile ... )
|
||||||
# Create the interface header and implementation files
|
# Create the interface header and implementation files
|
||||||
# for all listed interface xml files.
|
# for all listed interface xml files.
|
||||||
# The basename will be automatically determined from the name of the xml file.
|
# The basename will be automatically determined from the name
|
||||||
|
# of the xml file.
|
||||||
#
|
#
|
||||||
# The source file properties described for QT4_ADD_DBUS_INTERFACE also apply here.
|
# The source file properties described for
|
||||||
|
# QT4_ADD_DBUS_INTERFACE also apply here.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# ::
|
# ::
|
||||||
|
@ -172,7 +174,7 @@
|
||||||
# a class uses the Q_OBJECT macro, moc has to run on it. If you don't
|
# a class uses the Q_OBJECT macro, moc has to run on it. If you don't
|
||||||
# want to use QT4_WRAP_CPP() (which is reliable and mature), you can insert
|
# want to use QT4_WRAP_CPP() (which is reliable and mature), you can insert
|
||||||
# #include "foo.moc"
|
# #include "foo.moc"
|
||||||
# in foo.cpp and then give foo.cpp as argument to QT4_AUTOMOC(). This will the
|
# in foo.cpp and then give foo.cpp as argument to QT4_AUTOMOC(). This will
|
||||||
# scan all listed files at cmake-time for such included moc files and if it
|
# scan all listed files at cmake-time for such included moc files and if it
|
||||||
# finds them cause a rule to be generated to run moc at build time on the
|
# finds them cause a rule to be generated to run moc at build time on the
|
||||||
# accompanying header file foo.h.
|
# accompanying header file foo.h.
|
||||||
|
@ -188,8 +190,8 @@
|
||||||
# This function is obsolete. Use target_link_libraries with IMPORTED targets
|
# This function is obsolete. Use target_link_libraries with IMPORTED targets
|
||||||
# instead.
|
# instead.
|
||||||
# Make <target> use the <modules> from Qt. Using a Qt module means
|
# Make <target> use the <modules> from Qt. Using a Qt module means
|
||||||
# to link to the library, add the relevant include directories for the module,
|
# to link to the library, add the relevant include directories for the
|
||||||
# and add the relevant compiler defines for using the module.
|
# module, and add the relevant compiler defines for using the module.
|
||||||
# Modules are roughly equivalent to components of Qt4, so usage would be
|
# Modules are roughly equivalent to components of Qt4, so usage would be
|
||||||
# something like:
|
# something like:
|
||||||
# qt4_use_modules(myexe Core Gui Declarative)
|
# qt4_use_modules(myexe Core Gui Declarative)
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
# SDL_IMAGE_LIBRARIES, the name of the library to link against
|
# SDL_IMAGE_LIBRARIES, the name of the library to link against
|
||||||
# SDL_IMAGE_INCLUDE_DIRS, where to find the headers
|
# SDL_IMAGE_INCLUDE_DIRS, where to find the headers
|
||||||
# SDL_IMAGE_FOUND, if false, do not try to link against
|
# SDL_IMAGE_FOUND, if false, do not try to link against
|
||||||
# SDL_IMAGE_VERSION_STRING - human-readable string containing the version of SDL_image
|
# SDL_IMAGE_VERSION_STRING - human-readable string containing the
|
||||||
|
# version of SDL_image
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
# SDL_MIXER_LIBRARIES, the name of the library to link against
|
# SDL_MIXER_LIBRARIES, the name of the library to link against
|
||||||
# SDL_MIXER_INCLUDE_DIRS, where to find the headers
|
# SDL_MIXER_INCLUDE_DIRS, where to find the headers
|
||||||
# SDL_MIXER_FOUND, if false, do not try to link against
|
# SDL_MIXER_FOUND, if false, do not try to link against
|
||||||
# SDL_MIXER_VERSION_STRING - human-readable string containing the version of SDL_mixer
|
# SDL_MIXER_VERSION_STRING - human-readable string containing the
|
||||||
|
# version of SDL_mixer
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
|
@ -41,8 +41,9 @@
|
||||||
#
|
#
|
||||||
# ::
|
# ::
|
||||||
#
|
#
|
||||||
# squish_v4_add_test(cmakeTestName AUT targetName SUITE suiteName TEST squishTestName
|
# squish_v4_add_test(cmakeTestName
|
||||||
# [SETTINGSGROUP group] [PRE_COMMAND command] [POST_COMMAND command] )
|
# AUT targetName SUITE suiteName TEST squishTestName
|
||||||
|
# [SETTINGSGROUP group] [PRE_COMMAND command] [POST_COMMAND command] )
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue