u01: Add note to CMakeLists about library type
This commit is contained in:
parent
ffc4c3e6dd
commit
18efa58df8
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue