[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: playground
From:       Christophe Giboudeaux <cgiboudeaux () gmail ! com>
Date:       2009-05-20 19:09:35
Message-ID: 200905202109.36087.cgiboudeaux () gmail ! com
[Download RAW message or body]

On Wednesday 20 May 2009 20:33:13 Andrew Coles wrote:
> SVN commit 970775 by coles:
>
> Only print out feature log if cmake has been invoked from the current
> directory.
>
> --- trunk/playground/pim/CMakeLists.txt #970774:970775
> @@ -38,4 +38,6 @@
>     macro_optional_add_subdirectory( kcall )
>  endif(Decibel_FOUND)
>
> -macro_display_feature_log()
> +if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
> +    macro_display_feature_log()
> +endif(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")

Doesn't make sense for playground/pim. 

Every module there can also be built alone. If one runs cmake in one of a 
subdir,  this macro_display_feature_log() will never be triggered.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic