aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/cmake.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2024-02-15 23:29:57 +0000
committerjohannst <johannst@users.noreply.github.com>2024-02-15 23:29:57 +0000
commitbac8a5d2822835cf47175d1162030653fadd5c09 (patch)
tree28f312a114cf95ac799daac2a2caec4b8612d84d /development/cmake.html
parentbfc5ce4bc01e5eb28969eefcc01ecfefa2601fdf (diff)
downloadnotes-bac8a5d2822835cf47175d1162030653fadd5c09.tar.gz
notes-bac8a5d2822835cf47175d1162030653fadd5c09.zip
deploy: 4485708c972815bbb6df7f5a228683aa855d553d
Diffstat (limited to 'development/cmake.html')
-rw-r--r--development/cmake.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/cmake.html b/development/cmake.html
index b69f893..85ed59f 100644
--- a/development/cmake.html
+++ b/development/cmake.html
@@ -203,7 +203,7 @@ target_compile_definitions(liba INTERFACE DEF_INTERFACE)
add_executable(main main.cc)
target_link_libraries(main liba)
</code></pre>
-<pre><code class="language-sh">&gt; touch liba.cc; echo &quot;int main() {}&quot; &gt; main.cc
+<pre><code class="language-sh">&gt; touch liba.cc; echo "int main() {}" &gt; main.cc
&gt; cmake -B build -S . -G Ninja
&gt; ninja -C build -j1 --verbose
[1/4] /usr/bin/c++ -DDEF_PRIVATE -DDEF_PUBLIC [..] .../liba.cc