Skip to main content
Associate II
September 12, 2024
Solved

Generated CMake projects use deprecated CMakeForceCompiler

  • September 12, 2024
  • 1 reply
  • 1417 views

Hello,

I've noticed that the generated CMake projects (specifically, in the toolchain gcc-arm-none-eabi.cmake file), a now-deprecated (since version 3.6!) macro is used https://cmake.org/cmake/help/latest/module/CMakeForceCompiler.html

I have to remove/comment out the use of these macros in my code due to it causing issues with other CMake libraries that I use in my project, which somewhat defeats the purpose of the CubeMX generated code to begin with.

Hopefully this is seen by the right person and this issue is addressed.

 

Thanks!

Best answer by Souhaib MAZHOUD

Hello @drewhanshaw 

Thank you for bringing this issue to our attention, 

 Issue escalated internally (Internal ticket number 191267). I will get back to you for any feedback. 

KR,

Souhaib

1 reply

Souhaib MAZHOUDBest answer
Technical Moderator
September 13, 2024

Hello @drewhanshaw 

Thank you for bringing this issue to our attention, 

 Issue escalated internally (Internal ticket number 191267). I will get back to you for any feedback. 

KR,

Souhaib

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.
Associate II
November 1, 2024

Do you have an update on this ticket?