Skip to content

Instantly share code, notes, and snippets.

@iamleeg
Created December 12, 2011 12:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamleeg/1466859 to your computer and use it in GitHub Desktop.
Save iamleeg/1466859 to your computer and use it in GitHub Desktop.
Using Eero from Xcode 4

Use this as the "custom script" for a build rule for files matching *.ero:

/path/to/clang-eero-prebeta/bin/clang -S -o ${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.s ${INPUT_FILE_PATH}

The output file should be $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).s. Xcode automatically assembles and links the output into the binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment