Hi, Just to clarify: CMAKE_INSTALL_PREFIX is the variable that sets where the project will be installed. CMAKE_PREFIX_PATH is used (amongst other things) to find external projects during the configuration.
Cheers, Attila > On 13 Dec 2015, at 21:20, Owen Hogarth II <gurenc...@gmail.com> wrote: > > wow, that's excellent cmake -LAH lead me to the variable that I was looking > for. > > Thank you very much Roger! > > On Mon, Dec 14, 2015 at 3:56 AM, Roger Leigh <rle...@codelibre.net> wrote: > On 13/12/2015 19:44, Owen Hogarth II wrote: > If you have a cmake project, what's the way to see what type of > configuration options are available? > > For example I know that I can pass -DCMAKE_PREFIX_PATH the set where the > project will be installed. > > Sometimes project creators add other things, such as building static or > share libraries, SSE, NEON or other flags like those. > > Is there a way to have cmake show all of those that the current project > has exposed? > > cmake -L[A][H] . > > Lists the cache variables to set, optionally including advanced options and > help text. > > See "List non-advanced cached variables" in > https://cmake.org/cmake/help/v3.4/manual/cmake.1.html > > These are also shown with cmake-gui, which lists them in the user interface. > > > Regards, > Roger > -- > > 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 > > -- > > 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 -- 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