Thank you very much Andreas, I did it and it worked.
Really appreciated your help. Best Regards Enrique On Thu, Feb 17, 2011 at 4:54 PM, Andreas Pakulat <[email protected]> wrote: > On 17.02.11 15:12:28, Enrique Izaguirre wrote: > > OK, I got it. > > The example I saw in the book is also without defining FILES. Then I have > to > > set it to an initial value, that should be the path where the files are, > > right? > > Yes usually you setup a variable with the relative path to the sources > of the target. I don't know what book you're reading but this simple > usecase usually looks like this: > > set( MYEXEC_SRCS > main.cpp > subdir1/foo.cpp > subdir2/bar.cpp > baz.cpp > ) > > add_executable( myexec ${MYEXEC_SRCS} ) > > Andreas > > -- > You possess a mind not merely twisted, but actually sprained. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
