From c2c8aee373ed0eacd99da17bf1db09aaa142b485 Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Tue, 14 Apr 2020 14:54:54 +0200 Subject: [PATCH] update glob comment in the main CMakeLists --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46ef184..f2332cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,8 @@ endif() # ---- Add source files ---- -# Note: globbing sources is considered bad practice as CMake won't detect new files automatically. -# Remember to always invoke cmake after changing files, or explicitly mention them here. +# Note: globbing sources is considered bad practice as CMake's generators may not detect new files automatically. +# Keep that in mind when changing files, or explicitly mention them here. FILE(GLOB_RECURSE headers CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/include/*.h") FILE(GLOB_RECURSE sources CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp")