XCodeで環境変数を元に#defineする
<pre class="code">$(ENVVAR)</pre>
<pre class="code">HOME_DIR="@\"$(HOME)\""</pre>
<pre class="code lang-objc" data-lang="objc">NSLog(@"HOME_DIR = %@", HOME_DIR);</pre>
<pre class="code">$(ENVVAR)</pre>
<pre class="code">HOME_DIR="@\"$(HOME)\""</pre>
<pre class="code lang-objc" data-lang="objc">NSLog(@"HOME_DIR = %@", HOME_DIR);</pre>