This tutorial, after the whole CMake build thing which I have done but not necessarily understand why its like that, it says the following:
Once we generated the library we need to make sure the IDE knows where to find the library and the include files for our OpenGL program. There are two common approaches in doing this:
We find the /lib and /include folders of the IDE/compiler and add the content of GLFW's include folder to the IDE's /include folder and similarly add glfw3.lib to the IDE's /lib folder. This works, but it's is not the recommended approach. It's hard to keep track of your library and include files and a new installation of your IDE/compiler results in you having to do this process all over again.
Another approach (and recommended) is to create a new set of directories at a location of your choice that contains all the header files/libraries from third party libraries to which you can refer to from your IDE/compiler. You could, for instance, create a single folder that contains a Libs and Include folder where we store all our library and header files respectively for OpenGL projects. Now all the third party libraries are organized within a single location (that can be shared across multiple computers). The requirement is, however, that each time we create a new project we have to tell the IDE where to find those directories.
Now I don't exactly understand either methods and how I would go about this. I wanted to try the recommended approach. What would be the best location for these 'Directory' folder, and which of the elements of 'glfw-3.3.2' folder would I put here? And how would I know how to tell the IDE where to find those directories? Is there any single easy-to understand place to get this information on how to properly manage this? I am working with visual studio 2017 community.