On 07.03.2014 18:55, Lucas Soltic wrote:
Is there a way to know exactly (through a CMake variable or command) where the 
binaries will be put?

In which context do you need the location?

If you need the path for e.g. a custom command[1] a generator expression[2] like $<TARGET_FILE_DIR:tgt> or $<TARGET_FILE:tgt> might be what you are looking for.

Nils

[1] http://www.cmake.org/cmake/help/git-master/command/add_custom_command.html [2] http://www.cmake.org/cmake/help/git-master/manual/cmake-generator-expressions.7.html
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to