Blackberry10 C ++ .gitignore?

I have a git repository with BB10 development using my own C / C ++ SDK. Do you have a tip on a .gitignore file or a template similar to those found at https://github.com/github/gitignore ?

+4
source share
3 answers

Here is my .gitignore file at the moment (SDK 10.1). Keep in mind that since functions are constantly being added / changed, this file can be modified accordingly.

 arm/ x86 .settings/ *~ config.pri .device assets/.assets.index 
+2
source

Not that I put a lot of effort into it, but I used:

 *.o *.a *.bar .preview* .moc .obj <projectname> arm/Makefile arm/Makefile.Debug arm/Makefile.Release x86/Makefile x86/Makefile.Debug x86/Makefile.Release 

Where is the name of the project. The IDE creates a file with a name that you do not need in the repo.

+1
source

This is my gitignore for one bb10 project (not for workspace)

 # Compiled Object files *.slo *.lo *.o # Compiled Dynamic libraries *.so # Compiled Static libraries *.lai *.la *.a /.settings/ /.device /config.pri /arm/ /x86/ assets/.preview* assets/.assets.index 
+1
source

Source: https://habr.com/ru/post/1447486/


All Articles