You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
258 B
10 lines
258 B
8 years ago
|
enable_language(CXX)
|
||
|
add_library(foo foo.cpp)
|
||
|
target_link_libraries(foo ${CMAKE_BINARY_DIR}/xyzzy.targets)
|
||
|
|
||
|
add_library(bar bar.cpp)
|
||
|
target_link_libraries(bar foo ${CMAKE_BINARY_DIR}/waldo.targets)
|
||
|
|
||
|
add_executable(baz baz.cpp)
|
||
|
target_link_libraries(baz bar)
|