https://github.com/Kitware/CMake
Raw File
Tip revision: 44b8937b7614560d9e88d25456c8394b4b209d51 authored by Brad King on 05 February 2020, 14:19:24 UTC
CMake 3.16.4
Tip revision: 44b8937
CMAKE_BINARY_DIR.rst
CMAKE_BINARY_DIR
----------------

The path to the top level of the build tree.

This is the full path to the top level of the current CMake build
tree.  For an in-source build, this would be the same as
:variable:`CMAKE_SOURCE_DIR`.

When run in -P script mode, CMake sets the variables
:variable:`CMAKE_BINARY_DIR`, :variable:`CMAKE_SOURCE_DIR`,
:variable:`CMAKE_CURRENT_BINARY_DIR` and
:variable:`CMAKE_CURRENT_SOURCE_DIR` to the current working directory.
back to top