current state of using cmake to compile kdevelop

Alexander Neundorf neundorf at kde.org
Wed May 11 15:10:09 UTC 2005


On Wednesday 11 May 2005 00:53, Alexander Dymo wrote:
> Another question, how to automatically add ${CMAKE_CURRENT_SOURCE_DIR} and
> ${CMAKE_CURRENT_BINARY_DIR} to the INCLUDE_DIRECTORIES?

I'm not sure this is possible. So I guess 
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) 
might be required. OTOH I usually don't add these directories to the include 
path.
Of course this could also be combined in a macro 
KDE_INCLUDE_DIRS() which adds the kde include directories (this is currently 
done in the toplevel CMakeLists.txt by including FindKDE.cmake) and the 
current directories.

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net




More information about the KDevelop-devel mailing list