adentinger / CMakeBestPractices

A reference CMake configuration for fairly scalable open-/closed-source C/C++ projects
MIT License
2 stars 0 forks source link

Use an existing C++ project to increase amount of code/files to build #96

Open adentinger opened 10 months ago

adentinger commented 10 months ago

Currently there are too few things to compile; in some regards it can be hard to say whether the CMake setup scales well as the project grows. For example, from work experience, using the .clang-tidy file in this project on a medium-scale project seems to cause it to take over an hour to build; we might have to try and find which passes take so long and remove them.

adentinger commented 10 months ago

Since we want an executable, and two libraries, we could try to find a CLI (which would be the executable) which links against a library (which would be lib2) which, in turn, would link against another library (which would be lib1).