blob: e97b6b13e310d225a33373b2d406c13e50e28a31 (
plain)
1
2
3
4
5
6
7
8
|
project(LibName)
set(LIBRARY_OUTPUT_PATH lib)
set(EXECUTABLE_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)
|