[CMake] How to know the location of build directory
Angeliki Chrysochou
angeliki.chrysochou at gmail.com
Tue Jun 24 10:08:24 EDT 2014
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 <haster2004 at yandex.ru> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140624/abc33185/attachment.html>
More information about the CMake
mailing list