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)