Re: [CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
On Saturday 09 May 2009 22:25:24 Alexander Neundorf wrote: > > set(CMAKE_INCLUDE_CURRENT_DIR ON) > Documentation committed to HEAD. Cheers Alex, I was sure I'd seen it somewhere! -- Cheers, Mike Arthur http://mikearthur.co.uk/ ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
Denis Scherbakov wrote: On Monday 11 May 2009, Denis Scherbakov wrote: CMAKE_LINK_DEPENDS_DEBUG_MODE is also not documented. Is this one an official public variable or may it go away again ? If you ask me - I don't know, I am not a CMake developer. But there is a lot functionality built around this variable in one of CMake source files. So I think it is for a long time there. It's purposely undocumented. I used that variable while debugging the link dependencies computation code. Some day it might help diagnose a bug report for some user so I left it in. It's output format is totally unspecified. -Brad ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
> On Monday 11 May 2009, Denis Scherbakov wrote: > > CMAKE_LINK_DEPENDS_DEBUG_MODE is also not documented. > > Is this one an official public variable or may it go away > again ? If you ask me - I don't know, I am not a CMake developer. But there is a lot functionality built around this variable in one of CMake source files. So I think it is for a long time there. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
On Monday 11 May 2009, Denis Scherbakov wrote: > CMAKE_LINK_DEPENDS_DEBUG_MODE is also not documented. Is this one an official public variable or may it go away again ? > > > set(CMAKE_INCLUDE_CURRENT_DIR ON) > > > > > > Ooops, seems it's not documented. > > > I'll fix that. > > > > Documentation committed to HEAD. Alex ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
CMAKE_LINK_DEPENDS_DEBUG_MODE is also not documented. > > set(CMAKE_INCLUDE_CURRENT_DIR ON) > > > > Ooops, seems it's not documented. > > I'll fix that. > > Documentation committed to HEAD. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
On Friday 08 May 2009, Alexander Neundorf wrote: ... > set(CMAKE_INCLUDE_CURRENT_DIR ON) > > Ooops, seems it's not documented. > I'll fix that. Documentation committed to HEAD. Alex ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
On Thursday 07 May 2009, Mike Arthur wrote: > I'm sure I read some time about some option you could set in a CMake > project that would always implicitly do > include_directories(${CMAKE_CURRENT_BINARY_DIR}) in child CMakeLists.txt > without the need to do so manually. > > Searched the documentation to no avail. Did I just imagine this option or > is it there somewhere? Maybe it was in kdelibs/cmake/modules/KDE4Defaults.cmake: # Always include srcdir and builddir in include path # This saves typing ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in about every subdir # since cmake 2.4.0 set(CMAKE_INCLUDE_CURRENT_DIR ON) Ooops, seems it's not documented. I'll fix that. Alex ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] Implicity CMAKE_CURRENT_BINARY_DIR include_directories
I'm sure I read some time about some option you could set in a CMake project that would always implicitly do include_directories(${CMAKE_CURRENT_BINARY_DIR}) in child CMakeLists.txt without the need to do so manually. Searched the documentation to no avail. Did I just imagine this option or is it there somewhere? Thanks! -- Cheers, Mike Arthur http://mikearthur.co.uk/ ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake