On 10/05/2015 04:36 PM, Tamás Kenéz wrote: > Here is the patch which documents and tests those 4 variables Great, thanks. Applied with minor tweaks: Document and test CMAKE_[CURRENT_](BINARY|SOURCE)_DIR in script mode https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8bb908b1 -Brad