The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15246 ====================================================================== Reported By: Jessica Hamilton Assigned To: ====================================================================== Project: CMake Issue ID: 15246 Category: CMake Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2014-11-11 20:57 EST Last Modified: 2014-11-11 20:57 EST ====================================================================== Summary: Better support for autotools directory paths Description: CMake basically only supports the --prefix option found in configure/autotools based scripts, which leads to users of CMake to hardcode a bunch of paths that are configurable under traditional configure/autotools based projects.
This is a big problem for porting projects using CMake to Haiku, as the paths are different to what is required on Haiku. For example, pretty much every CMake based project hardcodes @CMAKE_INSTALL_PREFIX@/include all over the place. This location does not exist on Haiku, nor is it searched for. For autotools based projects, it is a simple matter of specifying --includedir=/boot/system/develop/headers, just as we do for the other locations. Can CMake please introduce the needed variables to be able to define these locations, so that projects can be updated to use them as they should. Having to patch/workaround EVERY CMake based project is a nightmare, when the build system should take care of this automatically. Additional Information: Introduce variables along the lines of CMAKE_INSTALL_PREFIX: - CMAKE_INSTALL_BINDIR - CMAKE_INSTALL_LIBDIR - CMAKE_INSTALL_INCLUDEDIR ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-11-11 20:57 Jessica HamiltonNew Issue ====================================================================== -- 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
