[CMake] Problems with CMake 3.1.0-rc3 write_compiler_detection_header

Daniel Schepler dschepler at scalable-networks.com
Mon Dec 15 12:38:34 EST 2014


Why would we need specific support for each compiler?  Couldn't the module use check_cxx_source_compiles() etc. tests instead?
-- 
Daniel Schepler
________________________________________
From: CMake [cmake-bounces at cmake.org] on behalf of NoRulez [norulez at me.com]
Sent: Monday, December 15, 2014 5:40 AM
To: CMake MailingList
Subject: Re: [CMake] Problems with CMake        3.1.0-rc3       write_compiler_detection_header

I see that only GNU and Clang is currently supported ("set(compilers GNU Clang);")

Is that right and would MSVC be added to the final 3.1.0 version?

Thanks in advance

Best Regards


> Am 15.12.2014 um 12:34 schrieb NoRulez <norulez at me.com>:
>
> Hello,
>
> I tried write_compiler_detection_header as in the example provided with VS2013 but i only get the following message: "Unsupported compiler MSVC"
>
> Any suggestions?
>
> Best Regards
> --
>
> 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



More information about the CMake mailing list