I don't understand the harm of documenting the options and making them public. Brad can you explain?
I have worked with numerous colleagues who use them. So far nothing bad happened to them! Seems to me that they are a) used b) useful c) safe Is there context I am missing? Dave On 1 Jul 2016 7:31 a.m., "Ruslan Baratov via cmake-developers" < cmake-developers@cmake.org> wrote: > On 01-Jul-16 00:14, Shawn Waldon wrote: > > On Thu, Jun 30, 2016 at 5:10 PM, Ruslan Baratov <ruslan_bara...@yahoo.com> > wrote: > >> On 30-Jun-16 23:57, Shawn Waldon wrote: >> >> On Thu, Jun 30, 2016 at 4:54 PM, Ruslan Baratovwrote: >> >>> On 30-Jun-16 23:40, Brad King wrote: >>> >>>> On 06/30/2016 04:28 PM, Ruslan Baratov wrote: >>>> >>>>> On 30-Jun-16 23:18, Brad King wrote: >>>>> >>>>>> On 06/30/2016 03:56 PM, Ruslan Baratov wrote: >>>>>> >>>>>>> What is the public-use way to specify source-tree and build-tree by >>>>>>> cmake options simultaneously? >>>>>>> >>>>>> cd $build && cmake $src >>>>>> >>>>> Will not work if $build not exists. >>>>> >>>> mkdir -p "$build" && cd "$build" && cmake "$src" >>>> >>> >>> Next issue is that this command change directory, how can I move back to >>> the directory where I was working on? >> >> >> mkdir -p "$build" && pushd "$build" && cmake "$src" && popd >>> >> Doesn't go back if `cmake "$src"` failed >> > I think Brad may have a better idea with the subshell. But to modify this > to work even if `cmake "$src"` failed: > > mkdir -p "$build" && pushd "$build" && cmake "$src"; popd > > > echo $? > 0 > > for the CMakeLists.txt with errors > > -- > > 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