- CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
- PROJECT (Design)
- SET (SRCS state.cxx)
- ADD_EXECUTABLE (state ${SRCS})
- @echo off
SET VS2010="F:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
call %VS2010%
rd /s /q build
mkdir build
cd build
cmake -G "NMake Makefiles" ..\
nmake
cd ..