ehi nice! thanks --- On Wed, 1/26/11, Rolf Eike Beer <[email protected]> wrote:
From: Rolf Eike Beer <[email protected]> Subject: Re: [CMake] how to specify dependencies out of the source tree? To: [email protected] Date: Wednesday, January 26, 2011, 7:05 PM > I thank you so much Eric, > However I managed this thing and obteined the expected result by writing > something similar and then including it in my root CMakeLists.txt: > > ----- util lib dependency ----- > # -*- Makefile -*- > > IF(BUILD_STANDALONE) For those project I need that I usually do this without the user need to do something special by: IF (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) Eike _______________________________________________ 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
_______________________________________________ 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
