Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
1a07e1b4
Commit
1a07e1b4
authored
Jan 20, 2019
by
Craig Scott
Browse files
FetchContent: Trivial doc corrections
parent
68e20f67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/FetchContent.cmake
View file @
1a07e1b4
...
...
@@ -360,7 +360,7 @@ Examples
^^^^^^^^
Consider a project hierarchy where ``projA`` is the top level project and it
depends on projects ``projB`` and ``projC``. Both ``projB`` and ``projC``
depends on projects ``projB`` and ``projC``.
Both ``projB`` and ``projC``
can be built standalone and they also both depend on another project
``projD``. For simplicity, this example will assume that all four projects
are available on a company git server. The ``CMakeLists.txt`` of each project
...
...
@@ -373,17 +373,17 @@ might have sections like the following:
include(FetchContent)
FetchContent_Declare(
projB
GIT_REPOSITORY git@mycompany.com
/
git/projB.git
GIT_REPOSITORY git@mycompany.com
:
git/projB.git
GIT_TAG 4a89dc7e24ff212a7b5167bef7ab079d
)
FetchContent_Declare(
projC
GIT_REPOSITORY git@mycompany.com
/
git/projC.git
GIT_REPOSITORY git@mycompany.com
:
git/projC.git
GIT_TAG 4ad4016bd1d8d5412d135cf8ceea1bb9
)
FetchContent_Declare(
projD
GIT_REPOSITORY git@mycompany.com
/
git/projD.git
GIT_REPOSITORY git@mycompany.com
:
git/projD.git
GIT_TAG origin/integrationBranch
)
...
...
@@ -406,7 +406,7 @@ might have sections like the following:
include(FetchContent)
FetchContent_Declare(
projD
GIT_REPOSITORY git@mycompany.com
/
git/projD.git
GIT_REPOSITORY git@mycompany.com
:
git/projD.git
GIT_TAG 20b415f9034bbd2a2e8216e9a5c9e632
)
...
...
@@ -424,7 +424,7 @@ might have sections like the following:
include(FetchContent)
FetchContent_Declare(
projD
GIT_REPOSITORY git@mycompany.com
/
git/projD.git
GIT_REPOSITORY git@mycompany.com
:
git/projD.git
GIT_TAG 7d9a17ad2c962aa13e2fbb8043fb6b8a
)
...
...
Brad King
@brad.king
mentioned in commit
748d0245
·
Jan 30, 2019
mentioned in commit
748d0245
mentioned in commit 748d024551d8f447046363ad617fc72bdd977fd2
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment