From 74d0ea93a49e2e78911518de5e92c9932c467f92 Mon Sep 17 00:00:00 2001 From: null Date: Mon, 9 Oct 2023 11:29:04 -0500 Subject: [PATCH] add shell blocks --- shared/index.md | 6 ++++++ static/index.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/shared/index.md b/shared/index.md index 64de5e4..6b84bf1 100644 --- a/shared/index.md +++ b/shared/index.md @@ -7,6 +7,12 @@ Instead of [a static library], now we are using the `SHARED` argument to build a <<< ./mylib.c +```sh +cmake -B build +cmake --build build +ls build +``` + [a static library]: /static/ diff --git a/static/index.md b/static/index.md index 968419b..22c1b32 100644 --- a/static/index.md +++ b/static/index.md @@ -8,6 +8,12 @@ library] example for the `SHARED` counterpart. <<< ./mylib.c +```sh +cmake -B build +cmake --build build +ls build +``` + [build a shared library]: /shared/