On 24 Oct 2010, at 11:28, Romain Pechayre wrote:
I would recommend you to first use a Makefile (or alternatively an Xcode project) and make a new command in textmate that just runs the Makefile from the right directory.
If you go with a Makefile I recommend: https://github.com/textmate/make.tmbundle
If you stay with command R then you can set the TM_CXX_FLAGS variable to include the proper -I option.
See http://manual.macromates.com/en/environment_variables#static_variables for where to set variables.