u01: Add note to CMakeLists about library type

This commit is contained in:
Simon Bruder 2023-04-22 13:50:54 +02:00
parent ffc4c3e6dd
commit 18efa58df8

View file

@ -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)