[CMake] Set Xcode sources language to "Default"

Ruslan Baratov ruslan_baratov at yahoo.com
Wed Feb 4 13:35:46 EST 2015


Update cmake to version 3.1 and try:

   set_source_files_properties(juce_audio_devices.cpp PROPERTIES 
XCODE_LAST_KNOWN_FILE_TYPE YES)

On 23-Jan-15 00:52, Daniel Kollmann wrote:
> Hello,
>
> I have some files in Xcode that have mixed Objective-C and C++ code 
> which is no problem if the files type is set to „Default“. My problem 
> is that Cmake sets it to „C++ Source“.
>
>
> Here is how it should be, from another project:
>
>
> Here is how it is for files added by Cmake:
>
>
> Is there a way to tell Cmake to leave the files language property to 
> „Default“?
>
>
> Thanks
> Dan
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150204/01c01a91/attachment.html>


More information about the CMake mailing list