On Fri, Oct 2, 2015 at 4:40 AM, Tamás Kenéz <[email protected]> wrote: > In script mode it seems that all the CMAKE_[CURRENT_](BINARY|SOURCE)_DIR > variables are set to the current working directory. >
if CMAKE_[CURRENT]_SOURCE_DIR is current directory; you're doing something wrong :) That implies that you're doing an in-source build which is actually less than supported. cmake --build <dir> allows specifying where the output goes... so; no, it's prossible that it will never be the 'current' directory. > Is this something we can rely on and it could be added to the documentation? > > Tamas > > -- > > 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://public.kitware.com/mailman/listinfo/cmake-developers -- 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://public.kitware.com/mailman/listinfo/cmake-developers
