[SVN] r10733 (C)

Alexander John Ross alex.j.ross at gmail.com
Sun Oct 19 22:55:26 UTC 2008


Slight remodeling of C.tmbundle's Run command:

  • Use TM_GXX to override the compiler in C++ mode, instead of TM_GPP.
  • You may set TM_GCC_FLAGS / TM_GXX_FLAGS to add compiler flags in C / C++ mode respectively.  Note that these strings will be subject to bash expansion, so you may include environment variables such as $HOME.
  • Default TM_GCC_FLAGS="-Wall -include stdio.h". Default TM_GXX_FLAGS=" -Wall -include stdio.h -include iostream"
    So you can run a script like: int main() { printf("Hello, World!"); return 0; } and it will *just work*.

Changed:
U   trunk/Bundles/C.tmbundle/Commands/Run.tmCommand
U   trunk/Bundles/C.tmbundle/Support/bin/bootstrap.sh




More information about the textmate-dev mailing list