cancel
Showing results for 
Search instead for 
Did you mean: 

Generated CMake projects use deprecated CMakeForceCompiler

drewhanshaw
Associate II

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

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

View solution in original post

1 REPLY 1
Souhaib MAZHOUD
ST Employee

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