I reckon this must be a standard question, and I can find some discussion on the internet regarding this matter but
no single tutorial.
My needs are pretty basic – I don’t use Xcode at all – I find it very confusing. I’m more of a vi, eclipse and sometime Emacs person. I do use OSX for most of my development.
Is there anyway I can use Open Framework on OSX without having to learn Xcode. Simple vi and make files.
Thanks in advance.
every example comes with a makefile that is universal, just copy it to any project. also there’s a config.make which you can edit to add additional flags like libraries, external search paths… and an addons.make file where you can add addons that the project will compile just by adding them one per line
also, I haven’t tested this, but here’s a guide to using sublime text for OF
This file has been truncated.
# Using Sublime for C++ and openFrameworks
First, a brief preface: **I am new to C/C++, new to gcc/g++, new to make and Makefiles, and new to openFrameworks.** I am not entirely new to software development though, and I guess I have strong opinions about the tools that I use. And maybe I'm resistant to change. More than anything, I like to know how things work, and don't like being confused. So when I started with C/C++ with Xcode, it was frustrating — the tool was foreign, felt heavy and slow, and didn't let me work the way I was used to.
### Setting up SublimeText for C/C++ development
Two things I knew were going to be important to me: smart code hinting and completion, and auto formatting. Thankfully other folks had already solved these problems for me via a couple handy packages:
1) SublimeAStyleFormatter - for auto formatting
2) SublimeClang - for code completion
I installed both via the Package Control. I'm using Sublime Text 2 — for Sublime Text 3, it seems that you need to install SublimeClang manually (thanks to @jedahan for figuring that out).
#### Setting up SublimeAStyleFormatter Package
I only made one small change here. By default, the formatter plugin uses "ansi" style formatting for brackets — that is, brackets are placed on the line below where the block starts. I prefer to have the bracket on the same line, so I changed the "style" setting in *Preferences->Package Settings->SublimeAStyleFormatter->Settings User* to "java":
You can also use Appcode from Jetbrains. It can handle Xcode projects, but has far better editor and refactoring capabilities.