Skip to content

Commit

Permalink
Update to new library target names for Conan requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnfreeman committed May 30, 2024
1 parent 6b4086a commit edcd653
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 00-upstream/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ endif()

# external executables
cupcake_assert(NOT TARGET zero::zero)
#cupcake_assert(TARGET zero::executables) # all executables
# cupcake_assert(TARGET zero::executables) # all executables?
cupcake_assert(TARGET zero::executables::zero) # named executable (long)
cupcake_assert(TARGET zero::e::zero) # named executable (short)
cupcake_assert(TARGET zero::executable) # main executable
12 changes: 12 additions & 0 deletions 10-special/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ cupcake_enable_testing()
add_subdirectory(examples)

cupcake_install_project()

# external libraries
cupcake_assert(TARGET zero::libraries) # all libraries
cupcake_assert(TARGET zero::libraries::zero) # named library (long)
cupcake_assert(TARGET zero::l::zero) # named library (short)
cupcake_assert(TARGET zero::library) # main library

# external executables
# cupcake_assert(TARGET zero::executables) # all executables?
# cupcake_assert(TARGET zero::executables::zero) # named executable (long) # TODO
# cupcake_assert(TARGET zero::e::zero) # named executable (short) # TODO
# cupcake_assert(TARGET zero::executable) # main executable # TODO
2 changes: 1 addition & 1 deletion 10-special/cupcake.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "zero",
"file": "zero",
"targets": ["zero::libraries::zero"]
"targets": ["zero::library"]
},
{
"name": "doctest",
Expand Down
2 changes: 1 addition & 1 deletion cupcake

0 comments on commit edcd653

Please sign in to comment.