[CMake] source directories
Mehdi Rabah
mehdi.rabah at gmail.com
Tue Dec 19 09:58:58 EST 2006
Hi everyone,
I have another simple question : is there a way to tell cmake to search some
directories for sources (not include files)
Let's say I have:
add_executable(exec src/source1 src/source2)
and I'd prefer having somehting like this:
source_directories(./src)
add_executable(exec source1 source2)
Is it possible ?
Thanks in advance for your great help.
--
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061219/f650e5c7/attachment.htm
More information about the CMake
mailing list