If I have a custom command:

add_custom_command(OUTPUT myfile.out)

Then I add that file to the target:

add_executable(mytarget main.cpp myfile.out)

If I do a 'make help' I get rules for main.o, but none for myfile.out.  Is
there something I can add to create a helper makefile target?

Thanks,
James
_______________________________________________
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