Repository navigation
Conversation
|
Absurd. No. Clients can do this if they want, the implementation is two lines, but it doesn't make sense to introduce a dependency on CMake for people who don't already use it, and moving the header file around just breaks things unnecessarily. |
|
you can just create a new branch specifically for cmake, your project structure is essentially unorganized, moving a header of a specific component to its corresponding sub-target folder is a cmake convention and is a necessity anyway since i can't |
|
Arguably, this IS the public include directory, it doesn't need a subdirectory that has that. But really, this is not meant to be a build directory structure. It's a place in which I've put files that you copy into your project in an appropriate place. |
Adds initial CMake support for
stb_imageas a static library.stb_imagedirectory with its implementation translation unit (rather than having the client implement what's already implemented).stb_image.hthrough a public include directory.stb::stb_imageCMake target.The target is intended to be consumed through
FetchContentandtarget_link_libraries().