1、静态库
add_library(hello_library STATIC src/hello.cpp )
2、动态库
注意这里是SHARED,而不是DYNAMIC
add_library(hello_library SHARED src/hello.cpp )