[CMake] List of compile features from command line?

Robert Maynard robert.maynard at kitware.com
Tue Jan 20 08:24:17 EST 2015


I believe you can use WriteCompilerDetectionHeader to write out a file
that will list support. The list of compile features you can request
is documented at
http://www.cmake.org/cmake/help/v3.1/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html

On Sat, Jan 17, 2015 at 7:36 PM, Robert Dailey <rcdailey.lists at gmail.com> wrote:
> Can I use cmake to spit out a list of supported compile features based
> on my already-configured project? I'm not sure how I'm expected to get
> the list of features otherwise. The documentation does not explain
> this.
> --
>
> 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


More information about the CMake mailing list