blob: 649aae3d70a8fc9a7f4bdbd6965a593eae9ef381 (
plain)
1
2
3
4
5
6
7
|
project(LibName)
set(LIBRARY_OUTPUT_PATH lib)
add_library(bar SHARED bar.c)
add_library(foo SHARED foo.c)
target_link_libraries(foo bar)
add_executable(foobar foobar.c)
target_link_libraries(foobar foo)
|