Dear cmakers,

I just found a rather disturbing fact on my Mac which leads to entire Xcode 
projects and everything stored next to them to be excluded from the Time 
Machine backup:

➜  ~ cmake --version
cmake version 3.7.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
➜  ~ mkdir yadda  
➜  ~ xattr yadda  
➜  ~ cd yadda
➜  yadda cmake ../foo -G Xcode
...
➜  yadda xattr .       

Now open the generated .xcodeproj in Xcode and cmd-B (Build).

➜  yadda xattr .
com.apple.XcodeGenerated
com.apple.metadata:com_apple_backup_excludeItem

Because of the com_apple_backup_excludeItem, the entire yadda directory will be 
excluded from Time Machine backups.
I often tweak the Xcode project as I work with it, change compiler settings, 
add targets etc. I definitely want this to be in my backup.
What do you think?


Regards,
Jan Hegewald, Climate Sciences, awi.de



-- 

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