2026-02-07 4:05 AM
After generating C code for a CMake project, I'd like to use some existing code that I've developed elsewhere.
Is there good information or guidance on how to do this properly?
For example, should compile my code as a static library and bring it into my project? If so, what is the recommended way to do this (how do I ensure compatibility, etc)? Or should I just copy-paste the source code files and headers into the project?