OpenGL-Examples
OpenGL-Examples copied to clipboard
update cmakelist by adding loop foreach file
Advantage 👍
- no need to keep updating the cmakelist file when new files are added
- simplified code Disadvantage 👎
- may be difficult for novice beginner to get understanding
overall 💯
- hardly anyone likes making changes for every included file in cmake ( me included :)
- so advantages overweight the odds please consider merging in if you find it useful