Yet another OpenGL build project.
- Git
- Make
- Cmake
Be sure that these programs are added to your path, so you can use them from your command prompt.
- Visual Studio
You must enable the x64 Visual C++ Toolset. I recommend to use this environment for everything you do. You have different options:
- Recomended: Use
Visual Studio x64 Native Tools Command Prompt
. Just press theWin
button and search forx64
, because the name of this Command Prompt can change depending on the lenguage you have installed Visual Studio. - Enable a 64-Bit Visual C++ Toolset on the Command Line (the instructions will depend on the version of VS that you have).
Go to main project folder and run:
> make
> bin/opengl_project.exe
> make vsproject15
This will create a build-vs-15
folder with the VS 15 (2017) project.
The makefile can be easly modified to support older versions of VS.
Serch for the vcvars64.bat in your computer and edit the "shell_cmd":
.
Then you can ctrl+shift+B
and select the build type.
Not tested