3 ms·
IMO, the way to structure things is around the "usage requirements" model where a target declares everything needed to know how to "use" the target. Flags, libr
by mathstuf 4y ago
IMO, the way to structure things is around the "usage requirements" model where a target declares everything needed to know how to "use" the target. Flags, libraries, includes, etc. The guide[1] goes through the basics at least; it can get a lot more complex with generator expression usage.
FD: CMake developer
[1] https://cmake.org/cmake/help/latest/guide/tutorial/index.html https://cmake.org/cmake/help/latest/guide/tutorial/index.htm...