[cmake-developers] Need some pointers on learning the code

Robert Dailey rcdailey.lists at gmail.com
Sun May 12 19:32:08 EDT 2013


I'm currently working on adding a CONFIG keyword to the
add_custom_command() command. I'm not familiar with the code at all.
Right now I'm trying to figure out how CMake handles configurations
for Visual Studio. Are they handled only in the Generate() function?
Or does the configuration step also have knowledge of them? I see in
code that custom commands (for POST_BUILD) are added to
cmTarget::PostBuildCommands. I'm not sure how it knows at this point
which configurations to add the custom command to.

Also as a second request, if there is any documentation online that
describes the overall CMake architecture and workflow, that'd help a
lot! Otherwise, if anyone cares to briefly explain, it might also help
me figure out things more easily.



More information about the cmake-developers mailing list