Adding gflags to handle command line flags.
It sucks, but is the best there is without using boost.
This commit is contained in:
1
third_party/gflags
vendored
Submodule
1
third_party/gflags
vendored
Submodule
Submodule third_party/gflags added at 56e77c6a2f
34
third_party/gflags.gypi
vendored
Normal file
34
third_party/gflags.gypi
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gflags',
|
||||
'type': 'static_library',
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'gflags/src/',
|
||||
],
|
||||
},
|
||||
|
||||
'include_dirs': [
|
||||
'gflags/src/',
|
||||
],
|
||||
|
||||
'sources': [
|
||||
'gflags/src/gflags.cc',
|
||||
'gflags/src/gflags_completions.cc',
|
||||
'gflags/src/gflags_nc.cc',
|
||||
'gflags/src/gflags_reporting.cc',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS == "win"', {
|
||||
'sources!': [
|
||||
'gflags/src/windows/port.cc',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user