[CMake] add_custom_command MAIN_DEPENDENCY

Robert Dailey rcdailey.lists at gmail.com
Tue Nov 6 12:39:04 EST 2012


Could someone explain the details of the MAIN_DEPENDENCY option to
add_custom_command()? The docs state it's a hint to the Visual Studio
generator, but doesn't really say much more than that. Why would I use
this? What can it do for me? Any examples of where it would be useful?

Thanks in advance.


More information about the CMake mailing list