lichao
2021-04-28 a6f67b4249525089fb97eb9418c7014f66c2a000
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)