[CMake] ADD_SUBDIRECTORY

Brandon Van Every bvanevery at gmail.com
Wed Dec 19 18:46:45 EST 2007


On Dec 19, 2007 4:44 PM, George Neill <georgen at neillnet.com> wrote:
> Hi CMakers,
>
> I have a simple example.   I am curious why CMake doesn't
> automatically build a psuedo-target when an ADD_SUBDIRECTORY is
> issued?

Because having a subdirectory doesn't imply that you're going to do
anything there.  It could just be an intermediate part of your source
tree.  Perhaps the CMakeLists.txt in that subdirectory merely contains
more ADD_SUBDIRECTORY commands.


Cheers,
Brandon Van Every


More information about the CMake mailing list