[CMake] Compile project as C++ if MSVC

Mateusz Łoskot mateusz at loskot.net
Fri Dec 23 15:51:42 EST 2011


On 23 December 2011 15:07, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> Back to the original question, just to be clear.
>
> The right way to do this is with the set_source_files_properties command:
>
> set_source_files_properties(<SRC> PROPERTIES LANGUAGE CXX)

Thanks Bill.

It is always good to learn new things about favourite build toolset :)

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the CMake mailing list