lichao
2021-04-29 72bffb0807925a156b076b71f78c848a08d27b87
1
2
3
4
5
6
7
8
9
10
11
 
file(GLOB sources "./*.cpp")
 
set(Target bhome_shmq)
set(TargetStatic bhome_shmq_static)
 
add_library(${Target} SHARED ${sources})
add_library(${TargetStatic} STATIC ${sources})
 
target_link_libraries(${Target} bhome_msg pthread rt)
target_link_libraries(${TargetStatic} bhome_msg_static pthread rt)