[CMake] how to specify a different source directory
cmake.org › pipermail › cmakeAaron Meadows -----Original Message----- From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of Dev Guy Sent: Thursday, February 02, 2012 8:11 PM To: CMake mailing list Subject: Re: [CMake] how to specify a different source directory On Thu, Feb 2, 2012 at 7:46 PM, Dev Guy <devguy.ca at gmail.com> wrote: > I have a ...
CMAKE_SOURCE_DIR — CMake 3.23.0-rc3 Documentation
cmake.org › latest › variableThis is the full path to the top level of the current CMake source tree. For an in-source build, this would be the same as CMAKE_BINARY_DIR. When run in -P script mode, CMake sets the variables CMAKE_BINARY_DIR, CMAKE_SOURCE_DIR , CMAKE_CURRENT_BINARY_DIR and CMAKE_CURRENT_SOURCE_DIR to the current working directory.