On 1/30/2015 10:40 AM, Chris Johnson wrote:
Petr, thanks.  That makes a lot of sense.

Now I am struggling with causing all of these files to be generated when
I do the default build target, e.g. just "make" in the build directory.
That is, I want myprog to be compiled, and then all of the files
processed by it with just one build command. I assume that's possible,
but have not quite yet been able to make it happen.
Something has to consume the output files. If you have a custom command that produces files, those files have to be part of a target or the commands will never get used.

-Bill

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to