Created
July 14, 2015 14:41
-
-
Save Br1an-Boyle/f5f6c50b0416ef7663d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header=$SRCROOT/NamespacedDependencies.h | |
prefix="SIGMAPOINT" | |
echo "Generating $header from $CODESIGNING_FOLDER_PATH..." | |
echo "// Namespaced Header | |
#ifndef __NS_SYMBOL | |
// We need to have multiple levels of macros here so that __NAMESPACE_PREFIX_ is | |
// properly replaced by the time we concatenate the namespace prefix. | |
#define __NS_REWRITE(ns, symbol) ns ## _ ## symbol | |
#define __NS_BRIDGE(ns, symbol) __NS_REWRITE(ns, symbol) | |
#define __NS_SYMBOL(symbol) __NS_BRIDGE($prefix, symbol) | |
#endif | |
" > $header |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment