Hi all,

I have a project structure, where my toplevel project consists of
several (sub)projects, which, in turn, may consist of subprojects.

bigproject
  projectA
    subA1
    subA2
  projectB
    subB1

I would like to be able to build any of these projects stand-alone (e.g.
'make projectA'). This is possible wrt. dependencies. However, CMake
doesn't generate targets for projects (at least not that I'm aware of).

Should I use add_custom_target() and add_dependencies() to create these
project targets, or is there another (better) way to do this?

Best regards,
Marcel Loose.


_______________________________________________
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