diff options
Diffstat (limited to 'development/cmake.html')
-rw-r--r-- | development/cmake.html | 2 |
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">> touch liba.cc; echo "int main() {}" > main.cc +<pre><code class="language-sh">> touch liba.cc; echo "int main() {}" > main.cc > cmake -B build -S . -G Ninja > ninja -C build -j1 --verbose [1/4] /usr/bin/c++ -DDEF_PRIVATE -DDEF_PUBLIC [..] .../liba.cc |