From 18efa58df8aa6fec1c2b3d0e1cfae98f38f9da5c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 22 Apr 2023 13:50:54 +0200 Subject: [PATCH] u01: Add note to CMakeLists about library type --- u01/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/u01/CMakeLists.txt b/u01/CMakeLists.txt index 698d992..c7232a6 100644 --- a/u01/CMakeLists.txt +++ b/u01/CMakeLists.txt @@ -1,7 +1,9 @@ cmake_minimum_required(VERSION 3.20) project(ecg-u01) -add_library(ecg_tree SHARED node.cpp) +add_library(tree SHARED node.cpp) +# ~~~~~~ +# This can be changed to STATIC to build and link a static library. add_executable(main main.cpp) target_link_libraries(main ecg_tree)