Skip to main content
July 22, 2019
Solved

TouchGFX .gitignore

  • July 22, 2019
  • 1 reply
  • 1809 views

Hello,

I want to use my project under git version control,

so, my question is what should I control from TouchGFX folder of my project,

and what should I add to .gitignore file?

Thank you,

Anton

This topic has been closed for replies.
Best answer by Anders Nedergaard PETERSEN

Hi @qqAnton​,

I suggest you add all auto generated source to the ignore list, so the following folders

/generated

/build

/simulator/msvs/.vs

I will let you decide if you want to add the touchgfx framework to your ignore list. It will always be added by the designer if it is not found in the application.

If you are using CI in your workflow, i suggest you use the tgfx CLI tool to generate the UI code before compiling on the build server, the command is:

tgfx.exe generate -p [project-path]

The CLI tool is place beside the TouchGFX Designer in the installation directory.

/Anders

1 reply

Anders Nedergaard PETERSEN
Senior II
July 22, 2019

Hi @qqAnton​,

I suggest you add all auto generated source to the ignore list, so the following folders

/generated

/build

/simulator/msvs/.vs

I will let you decide if you want to add the touchgfx framework to your ignore list. It will always be added by the designer if it is not found in the application.

If you are using CI in your workflow, i suggest you use the tgfx CLI tool to generate the UI code before compiling on the build server, the command is:

tgfx.exe generate -p [project-path]

The CLI tool is place beside the TouchGFX Designer in the installation directory.

/Anders