-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Having something like this:
.
└── src/
├── basic/
│ ├── CMakeLists.txt
│ ├── hello-file/
│ │ └── hello-file.c
│ │── hello-world/
│ │ └── hello-world.c
│ └── ...
└── sdl2/
├── CMakeLists.txt
├── sdl-sprites/
│ └── sdl-sprites.c
│── sdl-window/
│ └── sdl-window.c
└── ...Would be ideal.
This way certain categories of examples (like SDL2) can have their own requirements, and if the developer doesn't wishes to build that certain category, they can disable it. This also facilitates adding more varied examples.
Plus it aligns with modern usage of CMake (from what I can gather).
To-do:
- Document the process of adding new examples in
CONTRIBUTING.mdor similar.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request