lichao
2021-04-27 5b800932ae33e571edfdc21304c2185e17f69a38
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)