On Sat, Aug 25, 2012 at 10:59 AM, Kornel Benko <kor...@lyx.org> wrote:
> The you may want to try
>
> file(GLOB foo_sources . src/*.cc)
>
> add_executable(foo ${foo_sources})

That works, thanks!
--

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

Reply via email to