Greetings fellow CMake users! While I know this topic has been discussed intermittently over the years <https://www.google.com/search?q=cmake+visual+studio+solution+with+relative+paths&oq=cmake+visual+studio+solution+with+relative+paths&aqs=chrome..69i57.6599j0j7&sourceid=chrome&ie=UTF-8> I was wondering if anyone had any further insight.
The situation is that we have a client who works with other contractors who use almost exclusively windows and MSVS. This client wants to distribute MSVS solution files with the source code so that other contractors don’t have to install cmake. (There are some restrictions/red tape for installing additional software on the contractor machines…) I know the official party line is “CMake must use absolute paths, rerun CMake to regenerate the MSVS solution files.” I also know that CMAKE_USE_RELATIVE_PATHS was abandoned. Does anyone have any updated insight on this issue? Is there any mechanism, other than either manually or automatically editing the solution files to cause them to use relative paths? Another thought might be to include a statically linked CMake windows binary with the source, but I need to investigate whether the CMake licensing allows for that. Thanks, Zaak Izaak "Zaak" Beekman ------------------------------------------------------------------------------- HPC Scientist ParaTools Inc. <http://www.paratools.com/> ibeek...@paratools.com 1509 16th St, NW Washington, DC 20036 mobile: (917) 797-3239 -------------------------------------------------------------------------------
-- 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: https://cmake.org/mailman/listinfo/cmake