Sample CMake for OpenGL based projects.
For more information about how all of these was done please refer to this link.
- CMake (to download click here)
- IDE (e.g. Visual Studio)
Note: this CMake was only tested on Windows platform. Linux and Mac platforms weren't tested.
- Make sure that CMake is installed and added to the system PATH variable.
- Open terminal in the CMakeLists.txt directory and run:
mkdir build
cd build
cmake -A Win32 ..
NOTE: Project must be configured as Win32 due to precompiled x86 binaries of thirdparty libraries.
Any improvements to CMake script are greatly welcome.