indentlog: need unique cmake targets across xo for submodule build
This commit is contained in:
parent
9e680badec
commit
3831e387a9
5 changed files with 14 additions and 12 deletions
|
|
@ -46,7 +46,7 @@ xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets
|
|||
# ----------------------------------------------------------------
|
||||
|
||||
install(TARGETS hello DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex1 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex2 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex3 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex4 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex1 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex2 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex3 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex4 DESTINATION bin/indentlog/example)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
add_executable(ex1 ex1.cpp)
|
||||
xo_include_options2(ex1)
|
||||
add_executable(indentlog_ex1 ex1.cpp)
|
||||
xo_include_options2(indentlog_ex1)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
add_executable(ex2 ex2.cpp)
|
||||
xo_include_options2(ex2)
|
||||
# NOTE: need target names to be globally unique within the xo umbrella
|
||||
|
||||
add_executable(indentlog_ex2 ex2.cpp)
|
||||
xo_include_options2(indentlog_ex2)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
add_executable(ex3 ex3.cpp)
|
||||
xo_include_options2(ex3)
|
||||
add_executable(indentlog_ex3 ex3.cpp)
|
||||
xo_include_options2(indentlog_ex3)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
add_executable(ex4 ex4.cpp)
|
||||
xo_include_options2(ex4)
|
||||
add_executable(indentlog_ex4 ex4.cpp)
|
||||
xo_include_options2(indentlog_ex4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue