![]() Similarly, if the current file belongs to an application target (other than TextMate.app) then TM_NINJA_TARGET is set to build and run this application. ![]() tm_properties file found in the root of the source tree). If the current file is a test file then the target to build is changed to build the library to which the test belongs (this is done by setting TM_NINJA_TARGET in the. As there is full session restore, it is safe to relaunch even with unsaved changes. This will relaunch TextMate but when called from within TextMate, a dialog will appear before the current instance is killed. In case you haven't already you also need to set up the PATH variable either in Preferences → Variables or ~/.tm_properties so it can find ninja and related tools an example could be $PATH:/opt/local/bin. Both can be installed via Preferences → Bundles.Īfter this you can press ⌘B to build from within TextMate. You should install the Ninja and CxxTest bundles. We also require the libc++ library, so while you can install clang from MacPorts or Homebrew, you’d need to also install this library (or make it use the one from Xcode). ![]() If you have multiple versions of Xcode installed, be sure to run sudo xcode-select -switch so that. This should be included with Xcode 4.4+ available for both Lion and Mountain Lion. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |