Skip to content
Sublime Text 2 C++ project boilerplate
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
CMakeLists.txt
LICENSE
README.md
helloworld.cpp
setting.sublime-project

README.md

sublime-cpp-project-boilerplate

Sublime Text 2 C++ project boilerplate

Environment

Windows 7, MinGW, and cmake

Install MinGW

  • Download this from http://nuwen.net/mingw.html
  • Add the following paths to the system environment variable PATH
  • MinGW\bin
  • MinGW\lib
  • MinGW\include

Install CMake

Project structure


{project root}
  /build
  CMakeList.txt
  head.h
  source.cpp
  /other_sources

Usage

  • Set the default build system to 'make' (Tools -> Build System -> make), so that Ctrl+B can build
  • Ctrl+Shift+P then type 'cmake' to run cmake
You can’t perform that action at this time.