Essentially, I switch between linux and windows a lot. But I want to learn opengl using one github repo. In the compiling section it says “CMake only generates project files or makefiles. It does not compile the actual GLFW library. To compile GLFW, first generate these files for your chosen development environment and then use them to compile the actual GLFW library.” which I get but I don’t know how to allow this to not create them for my one development environment. Do I compile it for each environment separately and put it in a lib/ directory then include that in .gitignore? will that work? Is that they best way to go about this? Thanks for help! I am new to C++ and OpenGL.
If it helps my directory structure is as follows: