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 --- test/libapt/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/libapt') diff --git a/test/libapt/CMakeLists.txt b/test/libapt/CMakeLists.txt index f7cd5b2f6..86c0b28b5 100644 --- a/test/libapt/CMakeLists.txt +++ b/test/libapt/CMakeLists.txt @@ -22,6 +22,9 @@ if(NOT GTEST_FOUND AND EXISTS ${GTEST_ROOT}) endif() if(GTEST_FOUND) + # Definition of the C++ files used to build the test binary - 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 files gtest_runner.cc *-helpers.cc *_test.cc) add_executable(libapt_test ${files}) target_include_directories(libapt_test PRIVATE ${GTEST_INCLUDE_DIRS}) -- cgit v1.2.3