xenia/third_party/gflags.gypi

60 lines
1.3 KiB
Plaintext
Raw Normal View History

# Copyright 2013 Ben Vanik. All Rights Reserved.
{
'targets': [
{
'target_name': 'gflags',
'type': '<(library)',
'direct_dependent_settings': {
2013-01-30 10:02:18 +00:00
'conditions': [
['OS != "win"', {
'include_dirs': [
'gflags/src/',
],
}],
['OS == "win"', {
'include_dirs': [
'gflags/src/windows/',
],
'defines': [
'GFLAGS_DLL_DECL=',
'GFLAGS_DLL_DEFINE_FLAG=',
'GFLAGS_DLL_DECLARE_FLAG=',
2013-01-30 10:02:18 +00:00
],
}],
],
},
'sources': [
'gflags/src/gflags.cc',
'gflags/src/gflags_completions.cc',
'gflags/src/gflags_nc.cc',
'gflags/src/gflags_reporting.cc',
],
'conditions': [
2013-01-30 10:02:18 +00:00
['OS != "win"', {
'include_dirs': [
'gflags/src/',
],
}],
['OS == "win"', {
2013-01-30 10:02:18 +00:00
'include_dirs': [
'gflags/src/windows/',
'gflags/src/',
],
'sources+': [
'gflags/src/windows/port.cc',
],
2013-01-30 10:02:18 +00:00
'defines': [
'PATH_SEPARATOR=\'\\\\\'',
2013-01-30 10:02:18 +00:00
'GFLAGS_DLL_DECL=',
'GFLAGS_DLL_DEFINE_FLAG=',
'GFLAGS_DLL_DECLARE_FLAG=',
2013-01-30 10:02:18 +00:00
],
}],
],
}
]
}