CMAKE_BINARY_DIR.rst 468 B

12345678910111213
  1. CMAKE_BINARY_DIR
  2. ----------------
  3. The path to the top level of the build tree.
  4. This is the full path to the top level of the current CMake build
  5. tree. For an in-source build, this would be the same as
  6. :variable:`CMAKE_SOURCE_DIR`.
  7. When run in :option:`cmake -P` script mode, CMake sets the variables
  8. ``CMAKE_BINARY_DIR``, :variable:`CMAKE_SOURCE_DIR`,
  9. :variable:`CMAKE_CURRENT_BINARY_DIR` and
  10. :variable:`CMAKE_CURRENT_SOURCE_DIR` to the current working directory.