Version: Branch::master
Platform: MacOS
Subsystem: x64
I have a problem about generate a Xcode project with GYP
I did it as follows:
git clone https://github.com/nodejs/node.git./configuregit clone https://chromium.googlesource.com/external/gyppython setup.py build and sudo python setup.py install../gyp/gyp node.gyp --depth=. -f xcode --generator-output=./buildgyp: name 'node_shared' is not defined while evaluating condition 'node_shared=="true"' in node.gyp
What's wrong?
node.gyp
node.txt
node.gypi
nodei.txt
common.gypi
common.txt
config.gypi
config.txt
icu_config.gypi
icu_config.txt
configure generates a bunch of variables. You can pass -Icommon.gypi -Iconfig.gypi to gyp but it's probably easiest to just run ./configure -- f xcode - everything after the -- is passed to gyp verbatim.
Note that you don't have to check out gyp separately, it's vendored in tools/gyp.
Thx Ben! done!
Most helpful comment
configuregenerates a bunch of variables. You can pass-Icommon.gypi -Iconfig.gypito gyp but it's probably easiest to just run./configure -- f xcode- everything after the--is passed to gyp verbatim.Note that you don't have to check out gyp separately, it's vendored in tools/gyp.