Skip to main content
Southbranch
Senior
February 8, 2025
Solved

CMake for TouchGFX via CubeMX?

  • February 8, 2025
  • 2 replies
  • 1710 views

Hi!

Any chance this will be supported soon?

CubeMX is already updating the auto generated CMake file in STM32 VS Code when adding TouchGFX but this is just for some of the TouchGFX files and is not sufficient, instead there will be build errors.

As a related question: is there a way to add custom CMake code in the auto generated CMake file e.g. under "User code begin etc"?

Thanks

Best answer by Sarra.S

Hello @Southbranch

I raised your question about TouchGFX support plan to the dedicated team (Internal ticket number: 202877) 

I will keep you updated!

2 replies

Sarra.SAnswer
ST Employee
February 12, 2025

Hello @Southbranch

I raised your question about TouchGFX support plan to the dedicated team (Internal ticket number: 202877) 

I will keep you updated!

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ST Employee
March 12, 2025

Hello again @Southbranch

TouchGFX 4.25.0 supporting CMake is now online 

You can check documentation page updated with an article on how to setup a CMake project with TouchGFX: TouchGFX Documentation under Development -> Scenarios -> CMake as build system

Hope that helps! 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.