Hi, Von: "Mehdi Rabah" <[EMAIL PROTECTED]>
> 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 ? No, this is not possible, and I think this would lead to ambiguities in some cases. Bye Alex -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
