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



-- 

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

Reply via email to