[Bf-committers] [PATCH] use ADD_SUBDIRECTORY() instead of SUBDIRS() in the cmake files

Alexander Neundorf neundorf at kde.org
Mon Apr 20 21:58:41 CEST 2009


On Thursday 16 April 2009, Alexander Neundorf wrote:
> Hi,
>
> I just had a look at the cmake files in blender and noticed that you are
> using the SUBDIRS() command instead of ADD_SUBDIRECTORY.
> The main difference between the two is that ADD_SUBDIRECTORY() is processed
> immediately, while the directories added with SUBDIRS() are processed after
> everything else in the CMakeLists.txt has been processed. This is usually
> not what one would expect, so using ADD_SUBDIRECTORY() is usually better.
> The attached patch does that.
> Please apply if you think it makes sense.

Let's see whether the attachement gets through this time...

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subdirs.diff
Type: text/x-diff
Size: 7836 bytes
Desc: not available
Url : http://lists.blender.org/pipermail/bf-committers/attachments/20090420/f4cb1bf4/attachment.diff 


More information about the Bf-committers mailing list