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")