Skip to content

Commit b1f7d4d

Browse files
committed
Detect by .cppsm directory only
1 parent 66156a8 commit b1f7d4d

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

‎index.html‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,8 @@ <h4><a id="add_conventional_targets_provided_under"></a> <a href="#contents">≡
354354
<a href="#project-submodule">project submodule</a> directories and adds those submodules to
355355
the project.</p>
356356
<ul>
357-
<li>If a project submodule contains a <code>.cppsm</code> directory and a
358-
<a href="#provides-directory"><code>provides</code></a> directory, then the <code>provides</code> directory is
359-
added with the
357+
<li>If a project submodule contains a <code>.cppsm</code> directory, then the <code>provides</code>
358+
directory of the submodule is added with the
360359
<a href="#add_conventional_targets_under"><code>add_conventional_targets_under</code></a> function.</li>
361360
</ul>
362361
<ul>
@@ -541,9 +540,8 @@ <h3><a id="conventional-project-structure"></a> <a href="#contents">≡</a> <a h
541540
provided targets depend upon.</li>
542541
</ul>
543542
<p><a id="project-submodule"></a><a href="#project-submodule">A project submodule</a> either
544-
contains a <a href="#project">project</a> with a <a href="#provides-directory"><code>provides</code></a>
545-
directory or just a <code>CMakeLists.txt</code> script. In the former case the submodule is
546-
treated as a cppsm <a href="#project">project</a> whose targets under
543+
contains a <a href="#project">project</a> or just a <code>CMakeLists.txt</code> script. In the former
544+
case the submodule is treated as a cppsm <a href="#project">project</a> whose targets under
547545
<a href="#provides-directory"><code>provides</code></a> will be added to the build and in the latter
548546
case the submodule is treated as a foreign CMake project to be added to the
549547
build.</p>

‎index.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,8 @@ Recursively descends into the specified directory tree stopping at
399399
[project submodule](#project-submodule) directories and adds those submodules to
400400
the project.
401401

402-
- If a project submodule contains a `.cppsm` directory and a
403-
[`provides`](#provides-directory) directory, then the `provides` directory is
404-
added with the
402+
- If a project submodule contains a `.cppsm` directory, then the `provides`
403+
directory of the submodule is added with the
405404
[`add_conventional_targets_under`](#add_conventional_targets_under) function.
406405

407406
* Otherwise when a project submodule contains a `CMakeLists.txt` script, then
@@ -613,9 +612,8 @@ and four optional directories as follows:
613612
provided targets depend upon.
614613

615614
<a id="project-submodule"></a>[A project submodule](#project-submodule) either
616-
contains a [project](#project) with a [`provides`](#provides-directory)
617-
directory or just a `CMakeLists.txt` script. In the former case the submodule is
618-
treated as a cppsm [project](#project) whose targets under
615+
contains a [project](#project) or just a `CMakeLists.txt` script. In the former
616+
case the submodule is treated as a cppsm [project](#project) whose targets under
619617
[`provides`](#provides-directory) will be added to the build and in the latter
620618
case the submodule is treated as a foreign CMake project to be added to the
621619
build.

0 commit comments

Comments
 (0)