district10/cmake-templates

HOWTO: Win + CMake + Visual Studio 2010

district10 opened this issue · 0 comments

Caution: If you don't have Qt4 configured, use cpp instead of qt4-project. The work-through is the same.

Tip: Better to use VS2015. (I'll leave the tutorial here 'cause I don't have time to re-screenshot.)

1. Drag CMakeLists.txt to CMakeGUI

2. Build Visual Studio Solution

3. Go to build dir, and open *.sln with Visual Studio

4. Set StartUp Project

5. Build & Run

6. Finally, you did it