cmake generated Xcode projects are excluded from Time Machine

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

cmake generated Xcode projects are excluded from Time Machine

🐋 Jan Hegewald
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 .

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?

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: