Skip to content

my c++ build system for sublime text

Notifications You must be signed in to change notification settings

JohnItoo/buildsystem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Buildsystem

This is a c++ buildsystem for compiling c++ files with g++ on an OSX/macOS machine.

  1. put stdc++.h into:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ChosenMacOSSDK/usr/include/bits.

Note: if there is no bits directory in your "include" create one yourself.

  1. At the top of your c++ files use like so: #include <bits/stdc++.h>

gpp.sublime-build is a plain build system that compiles to the directory of your c++ file and creates a binary with the same name of your c++ file, whereas gppB.sublime-build is one that allows you to read from stdin and output to stdout. You need to create the output.in and input.in files in the directory of your c++ files.

  1. To hook gpp.sublime-build with SublimeText IDE, Navigate to Prefrences > Browse Packages and copy your preferred gpp.sublime-build to /User directory.

  2. Restart Sublime Text and select Tools > Build System and select your newly added gpp / gppB.

See Documentation Thread for more info :

About

my c++ build system for sublime text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%