Ceedling + CMake #967
JoseAmador95
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Why don't you drop CMake and just use Ceedling for release build as well? I am still using make for release builds as well - simply because |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The company I work for uses both Ceedling and CMake for unit tests and build system, respectively. Since there is significant overlap between both, would you consider making Ceedling be driveable from CMake?
Mostly, I would like to have matching build options in both build systems, so taking the compile options from compile_commands.json instead of the project.yml would be ideal. We cannot live without CMock, it is too good. However, making the autocompletion work and build options match CMake is a big task.
I have tried to integrate Unity and CMock in a way similar to what CMake would do, but I think my implementation lacks the magic Ceedling puts on top of Unity + CMock (the test runner generation, autodiscovery, auto-mock with a header prefix, etc...).
This is my current implementation, https://github.com/JoseAmador95/cmake_toolbox.
The actual test files are fully compatible with Ceedling.
Beta Was this translation helpful? Give feedback.
All reactions