I wan't to compile an external library:
It works with the complete path of the source like:
add_library(timetool "../src/wnt/foo.cxx"
"../../../../include/foo.h"
It DOESN'T works
add_library(timetool "../src/wnt/*.cxx"
"../../../../include/*.h"
And I get the error message:
CMake Error at CMakeLists.txt:25 (add_library):
Cannot find source file:
../src/*.cxx
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
What can I do to solve the Problem?