I finally found the ellipses. On Wed, Jul 25, 2018 at 9:48 PM, J. Caleb Wherry <calebwhe...@gmail.com> wrote: > Latest CMake documentation can be found here:
> https://cmake.org/cmake/help/latest/command/file.html?highlight=glob_recurse#glob-recurse That is what I was using, albeit badly. > As for your issue, you are misunderstanding the purpose of RELATIVE. That > means the paths you get path will be relative to that path, not that it > searches from that path. So you are just searching for “*.cpp” and “*.c” in > the CURRENT directory. That is why you are getting files in all the subdirs. > As @frodak pointed out in his first example, you need to remove the RELATIVE > and put the dir name you want like “./dir/*.cpp”. Ah. The top level directories are not list separately. > Once you do that, you should be good to go. All of the above is explained > pretty clearly in the linked docs. Yes, they are. My "interpretation" was too heavily influenced by an example even worse than mine. Thanks. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake