Hi Haster, Maybe CMAKE_CURRENT_BINARY_DIR could help you? Look at its description here: http://www.cmake.org/Wiki/CMake_Useful_Variables
Cheers! Angeliki On Tue, Jun 24, 2014 at 1:51 PM, Haster <[email protected]> wrote: > Hi folks, > I have such problem: > > I build different C/C++ programs with gcc and use -fprofile-arcs > -ftest-coverage options to generate .gcno files (to use them with gcov) > > So this files are created in directory there object files are created and I > have to include them to distib. > But I can't correctly define the path of this directory. > So how can I know this path or can I change it to another known directory? > > > > -- > View this message in context: > http://cmake.3232098.n2.nabble.com/How-to-know-the-location-of-build-directory-tp7587766.html > Sent from the CMake mailing list archive at Nabble.com. > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
