diff --git a/CMakeLists.txt b/CMakeLists.txt index aaf8548..8e3b0d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,10 @@ function(get_all_project_targets _target_list_var _current_dir) set(ALL_MY_PROJECT_TARGETS ${_ALL_MY_PROJECT_TARGETS} "" CACHE INTERNAL "") message("ALL_MY_PROJECT_TARGETS: ${ALL_MY_PROJECT_TARGETS}") + message("current_dir: ${_current_dir}") + get_filename_component(CURRENT_DIR_NAME "${_current_dir}" NAME) + message(" - NAME: ${CURRENT_DIR_NAME}") + # Get subdirectories of the current directory get_property(_subdirs DIRECTORY "${_current_dir}" PROPERTY SUBDIRECTORIES) foreach(_subdir IN LISTS _subdirs)