Review Request: Add support for cmake target include_directories.

Milian Wolff mail at milianw.de
Sun Apr 29 21:43:47 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104777/#review13121
-----------------------------------------------------------


looks good to me but this is missing a unit test which is required to get it merged.

also, aleix should have a final saying on whether this is the right approach

cheers, thanks for looking into it

oh and btw.: once you've added the unit test and potentially fixed other stuff that Aleix comes up with, please attach the commit using "add file" in the menu - just uploading the "git format-patch" is sadly not enough since reviewboard changes the diff file and removes your commit message etc.

- Milian Wolff


On April 29, 2012, 5:31 a.m., Ben Wagner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104777/
> -----------------------------------------------------------
> 
> (Updated April 29, 2012, 5:31 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Description
> -------
> 
> With CMake 2.8.8, it is now possible to write something like
> 
> set_property(TARGET zlib APPEND PROPERTY INCLUDE_DIRECTORIES "include/config")
> 
> This change implements include directories on targets.
> 
> Note that I am not a committer, so if you want it, the diff I uploaded is a format-patch against current master.
> 
> 
> This addresses bug 298859.
>     http://bugs.kde.org/show_bug.cgi?id=298859
> 
> 
> Diffs
> -----
> 
>   projectmanagers/cmake/cmakemanager.cpp 9ae8f90 
>   projectmanagers/cmake/cmakemodelitems.h 705a632 
>   projectmanagers/cmake/cmakemodelitems.cpp 957c410 
> 
> Diff: http://git.reviewboard.kde.org/r/104777/diff/
> 
> 
> Testing
> -------
> 
> Built and ran. The test linked from bug works as expected after building (as the test itself generates some of the required .h files). Behavior of non-target includes appears unaffected.
> 
> 
> Thanks,
> 
> Ben Wagner
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120429/e5a31179/attachment.html>


More information about the KDevelop-devel mailing list