From b59a8c6e29015c4d19c4b39a63b328af7d87d1ee Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 17 Jan 2017 14:33:02 +0100 Subject: CMake: Document that the globs are expanded during CMake This will avoid people from thinking that they have to do nothing when they change the set of files. Gbp-Dch: ignore --- apt-inst/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apt-inst') diff --git a/apt-inst/CMakeLists.txt b/apt-inst/CMakeLists.txt index f7578231a..31da115e4 100644 --- a/apt-inst/CMakeLists.txt +++ b/apt-inst/CMakeLists.txt @@ -6,7 +6,9 @@ set(MAJOR 2.0) set(MINOR 0) set(APT_INST_MAJOR ${MAJOR} PARENT_SCOPE) -# Definition of the C++ files used to build the library +# Definition of the C++ files used to build the library - note that this +# is expanded at CMake time, so you have to rerun cmake if you add or remove +# a file (you can just run cmake . in the build directory) file(GLOB_RECURSE library "*.cc") file(GLOB_RECURSE headers "*.h") -- cgit v1.2.3