Make product_name and project_name configurable
Now users can make use of GYP_DEFINES to custom application name: export GYP_DEFINES="product_name=MyApp project_name=myapp" ./script/update.py ./script/build.py -C Release -t myapp
This commit is contained in:
parent
a9d67e9715
commit
de55d8c292
1 changed files with 2 additions and 2 deletions
4
atom.gyp
4
atom.gyp
|
@ -3,8 +3,8 @@
|
|||
'includes': [
|
||||
'vendor/native_mate/native_mate_files.gypi',
|
||||
],
|
||||
'project_name': 'atom',
|
||||
'product_name': 'Atom',
|
||||
'project_name%': 'atom',
|
||||
'product_name%': 'Atom',
|
||||
'app_sources': [
|
||||
'atom/app/atom_main.cc',
|
||||
'atom/app/atom_main.h',
|
||||
|
|
Loading…
Reference in a new issue