I\'m noticing some potential incorrect behavior in cmake when working with add_custom_command
and multiple output files. I\'ve been able to isolate the problem to
This is in fact a bug in CMake 2.8.12.1. According to the CMake folks, the first output is being treated specially by the Makefile generator (though, there probably isn't a reason for it to be treated specially). A fix to CMake has been made, and is targeted for CMake 3.2.
See the CMake bugreport: http://www.cmake.org/Bug/view.php?id=15116