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.
9 lines
170 B
9 lines
170 B
11 years ago
|
|
||
|
enable_language(CXX)
|
||
|
|
||
|
add_library(foo empty.cpp)
|
||
|
|
||
|
add_library(alias ALIAS foo)
|
||
|
|
||
|
target_include_directories(alias PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)
|