mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-01 06:30:52 +02:00
update glob comment in the main CMakeLists
This commit is contained in:
parent
9a848564ff
commit
c2c8aee373
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ endif()
|
||||||
|
|
||||||
# ---- Add source files ----
|
# ---- Add source files ----
|
||||||
|
|
||||||
# Note: globbing sources is considered bad practice as CMake won't detect new files automatically.
|
# Note: globbing sources is considered bad practice as CMake's generators may not detect new files automatically.
|
||||||
# Remember to always invoke cmake after changing files, or explicitly mention them here.
|
# 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 headers CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/include/*.h")
|
||||||
FILE(GLOB_RECURSE sources CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp")
|
FILE(GLOB_RECURSE sources CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue