cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-MATTER and CMake

vohorci
Visitor

Hi,

I want to use CLion for development, which requires CMake, and I've been struggling with integrating the X-CUBE-MATTER package in it.

Globbing all files with

file(GLOB_RECURSE src_files "Middlewares/*.c" "Middlewares/*.cpp" "Drivers/*.c" "Drivers/*.cpp")

produces a binary significantly larger than FLASH and still fails to compile because it includes various examples and templates.

Another option I thought of is manually adding all the necessary files, however that seems like a herculean task.

Is there an easier way to go on about this (perhaps ST is already working on it)?

 

Thank you for your reply.

0 REPLIES 0