[CMake] Install CMake3.0 as alternate
Hello, Is there a way I can configure CMake when I build it so it's executable with have a 3 or 3.0 suffix, so that I can easily have multiple version of cmake installed into /usr/local? I am looking for something similar to python's altinstall or gcc's program-suffix option. Thanks, Brad -- 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
Re: [CMake] Install CMake3.0 as alternate
On 07/15/2014 02:31 PM, Bradley Lowekamp wrote: Hello, Is there a way I can configure CMake when I build it so it's executable with have a 3 or 3.0 suffix, so that I can easily have multiple version of cmake installed into /usr/local? I am looking for something similar to python's altinstall or gcc's program-suffix option. I'd install CMake with a custom prefix e.g. -DCMAKE_INSTALL_PREFIX=/opt/cmake-3.0. And create appropriate symlinks or aliases. e.g. ln -s /opt/cmake-3.0/bin/cmake /usr/local/bin/cmake-3.0 Or run it with full path. Nils -- 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