Skip to content

Commit e9d3d62

Browse files
committed
Document conventional.cmake
1 parent e84e033 commit e9d3d62

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ <h4><a id="cppsm-upgrade"></a> <a href="#contents">≡</a> <a href="#cppsm-upgra
311311
<h2><a id="cmake"></a> <a href="#contents"></a> <a href="#cmake">CMake</a></h2>
312312
<p>CMake boilerplate is provided for simple libraries, tests, and executables.</p>
313313
<h3><a id="conventional-cmake"></a> <a href="#contents"></a> <a href="#conventional-cmake"><code>conventional.cmake</code></a></h3>
314+
<p><a target="_blank" href="https://github.com/cppsm/cppsm-boilerplate/blob/master/conventional.cmake"><code>conventional.cmake</code> <i class="fas fa-xs fa-external-link-alt"></i></a>
315+
is a CMake script that (only) defines a number of CMake functions for targets
316+
and projects that adhere to the <a href="#project-structure">project structure</a>.</p>
314317
<h4><a id="add_conventional_executable"></a> <a href="#contents"></a> <a href="#add_conventional_executable"><code>add_conventional_executable(name)</code></a></h4>
315318
<p>Adds an executable target with the given name. Assumes that the target directory
316319
has implementation files matching the pattern <code>program/*.{cpp,hpp}</code>.</p>

index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@ CMake boilerplate is provided for simple libraries, tests, and executables.
369369

370370
### <a id="conventional-cmake"></a> [](#contents) [`conventional.cmake`](#conventional-cmake)
371371

372+
[`conventional.cmake`](https://github.com/cppsm/cppsm-boilerplate/blob/master/conventional.cmake)
373+
is a CMake script that (only) defines a number of CMake functions for targets
374+
and projects that adhere to the [project structure](#project-structure).
375+
372376
#### <a id="add_conventional_executable"></a> [](#contents) [`add_conventional_executable(name)`](#add_conventional_executable)
373377

374378
Adds an executable target with the given name. Assumes that the target directory

0 commit comments

Comments
 (0)