OOGL icon indicating copy to clipboard operation
OOGL copied to clipboard

CMake build system

Open golxzn opened this issue 2 years ago • 3 comments
trafficstars

Hi! Thank you for your project! The question is super easy: did you think about moving to the CMake build system?

As I can see, this project doesn't look like a big, complex project which required the same build system. I mean, it will not be so hard to integrate CMake into this project.

If you aren't skilled in CMake, I could pay as much time as possible.

To make the CMake project, we can create new branch with the following changes:

  • Change the project directories structure like that:
 1. | cmake/               | CMake tools and utils
 2. | OOGL/                | Main project directyr
 3. | ├── include/         |
 4. | ├── src/             |
 5. | ├── samples/         |
 6. | └── CMakeLists.txt   | CMake lists which will build GL, Math, Utils and Window targets
 7. | deps/                |
 8. | ├── libjpeg/         |
 9. | ├── libpng/          |
10. | ├── zlib/            |
11. | └── deps.cmake       |
12. | .gitignore           |
13. | CMakeLists.txt       |
14. | LICENSE              |
15. | README.md            |
16. | TODO.md              |
  • Support building the project as subdirectory and using find_library;

If you'll be happy to use CMake, I may try to work a little around it in a cmake_support branch or etc.

golxzn avatar Nov 27 '22 06:11 golxzn

To be honest I don't really maintain this repository anymore since superior websites like learnopengl.com have popped up.

Overv avatar Dec 12 '22 20:12 Overv

Oh, I got you. Sorry to hear it

golxzn avatar Dec 13 '22 14:12 golxzn