[CMake] add all files of a directory

Adrien Saladin adrien.saladin at gmail.com
Mon Jul 14 06:23:16 EDT 2008


Hi list,

I'm trying cmake as a replacement of our current build system.  A
minimal CMakeLists.txt already works for the basic features of our
C++/fortran library.

However, some C++ source files are generated from an external command.
The names of the generated files cannot be easily guessed, but they
are all located in the "Pybindings" subdirectory.
Is there a way to add all the files in this directory  ?

Thanks


More information about the CMake mailing list