Skip to content

Commit

Permalink
Use toplevel unit_name (nonstd-lite-project 56)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Oct 15, 2022
1 parent bb5fcb5 commit 8b44315
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ endif()

project( example LANGUAGES CXX )

set( unit_name "value-ptr" )
# unit_name provided by toplevel CMakeLists.txt [# unit_name provided by toplevel CMakeLists.txt]
set( PACKAGE ${unit_name}-lite )

message( STATUS "Subproject '${PROJECT_NAME}'")

# ToDo: link 01-pimpl-widget.cpp with 01-pimpl.cpp

set( TARGETS
02-tree
)
Expand Down

0 comments on commit 8b44315

Please sign in to comment.