I am considering switching a cross platform project from separate build management systems in Visual C++, XCode and makefiles to CMake.
One essential feature I need is to add automatically all files in a directory to a target. While this is easy to do with make, it is not easily doable with Visual C++ and XCode (correct me if I am wrong). Is it possible to do it in directly in CMake? How?
Feel free to add any other thing I should be aware of before going to learn CMake, considering that currently the project is mid-sized (8 libraries, 2 executables, 8 test projects and it is depending on about 8 external libs).