-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize
_cet_install()
docs for reuse in install_X()
- Loading branch information
1 parent
5da6442
commit 701168f
Showing
14 changed files
with
168 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``BASENAME_EXCLUDES [[REGEX] <exp>] ...`` | ||
Filenames matching these expressions in any searched subdirectory | ||
are excluded from installation; :command:`file(GLOB) | ||
<cmake-ref-current:command:file(glob)>` expressions are permitted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``DESTINATION <dest-path>`` | ||
Installation subdirectory below :variable:`CMAKE_INSTALL_PREFIX | ||
<cmake-ref-current:variable:CMAKE_INSTALL_PREFIX>` | ||
(mutually-exclusive with ``DEST_VAR``). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
``DEST_VAR <dest-var>`` | ||
The name of a CMake variable containing the installation | ||
subdirectory (mutually-exclusive with ``DESTINATION``). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``EXCLUDES [<exclude-exp> ...]`` | ||
A list of paths to exclude from the list of files that would | ||
otherwise be installed. This keyword accepts files only: no | ||
wildcards or directories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
``EXTRAS [<extra file> ...]`` | ||
Specific files to copy/install in addition to those found via | ||
:command:`GLOB <cmake-ref-current:command:file(glob)>`\ | ||
ing—incompatible with :ref:`p_cet_install-opt-LIST`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
``LIST [<file> ...]`` | ||
A list of files to install. Mutually-exclusive with any option | ||
assuming a generated list via :ref:`p_cet_install-_GLOB`, | ||
specifically :ref:`p_cet_install-EXCLUDES`, | ||
:ref:`p_cet_install-BASENAME_EXCLUDES`, | ||
:ref:`p_cet_install-EXTRAS`, and :ref:`p_cet_install-SUBDIRS`, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
``PROGRAMS`` | ||
All files will be treated as executables and their mode will be set | ||
accordingly upon copy and/or install. | ||
|
||
.. seealso:: :command:`cet_copy`, | ||
:external+cmake-ref-current:ref:`install(PROGRAMS | ||
...) <install(programs)>`, :manpage:`chmod(1)`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
``SUBDIRNAME <dest-subdir>`` | ||
Add ``<dest-subdir>`` to the destination path. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``SUBDIRS [<source-subdir> ...]`` | ||
Install files from the specified ``<source-subdir> ...``; | ||
incompatible with :ref:`p_cet_install-opt-LIST`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
changequote([,])dnl | ||
.. _p_cet_install-BASENAME_EXCLUDES: | ||
|
||
esyscmd([cat ]m4src[/BASENAME_EXCLUDES.rst])dnl | ||
|
||
esyscmd([cat ]m4src[/DESTINATION.rst])dnl | ||
|
||
esyscmd([cat ]m4src[/DEST_VAR.rst])dnl | ||
|
||
.. _p_cet_install-EXCLUDES: | ||
|
||
esyscmd([cat ]m4src[/EXCLUDES.rst])dnl | ||
|
||
.. _p_cet_install-opt-LIST: | ||
|
||
esyscmd([cat ]m4src[/LIST.rst])dnl | ||
|
||
.. _p_cet_install-EXTRAS: | ||
|
||
esyscmd([cat ]m4src[/EXTRAS.rst])dnl | ||
|
||
esyscmd([cat ]m4src[/PROGRAMS.rst])dnl | ||
|
||
esyscmd([cat ]m4src[/SUBDIRNAME.rst])dnl | ||
|
||
.. _p_cet_install-SUBDIRS: | ||
|
||
esyscmd([cat ]m4src[/SUBDIRS.rst])dnl |