Skip to content

Commit

Permalink
Print "${PROJECT_NAME} END" at the end when the project is integrat…
Browse files Browse the repository at this point in the history
…ed as a CMake subproject.
  • Loading branch information
redcode committed Feb 19, 2024
1 parent 961fd70 commit 696b26e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -411,4 +411,8 @@ if(${PROJECT_NAME}_WITH_TESTS)
unset(_depot_dir)
endif()

if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
message("${PROJECT_NAME} END")
endif()

# CMakeLists.txt EOF

0 comments on commit 696b26e

Please sign in to comment.