mirror of
https://github.com/xenia-project/xenia.git
synced 2024-12-11 21:35:53 +00:00
d3665cc2e6
This also removes the dependency on D3DX, which is only included in the DXSDK, meaning that just the Win8+ SDK should be required now.
60 lines
1.3 KiB
Python
60 lines
1.3 KiB
Python
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'gflags',
|
|
'type': '<(library)',
|
|
|
|
'direct_dependent_settings': {
|
|
'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=',
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
|
|
'sources': [
|
|
'gflags/src/gflags.cc',
|
|
'gflags/src/gflags_completions.cc',
|
|
'gflags/src/gflags_nc.cc',
|
|
'gflags/src/gflags_reporting.cc',
|
|
],
|
|
|
|
'conditions': [
|
|
['OS != "win"', {
|
|
'include_dirs': [
|
|
'gflags/src/',
|
|
],
|
|
}],
|
|
['OS == "win"', {
|
|
'include_dirs': [
|
|
'gflags/src/windows/',
|
|
'gflags/src/',
|
|
],
|
|
'sources+': [
|
|
'gflags/src/windows/port.cc',
|
|
],
|
|
'defines': [
|
|
'PATH_SEPARATOR=\'\\\\\'',
|
|
'GFLAGS_DLL_DECL=',
|
|
'GFLAGS_DLL_DEFINE_FLAG=',
|
|
'GFLAGS_DLL_DECLARE_FLAG=',
|
|
],
|
|
}],
|
|
],
|
|
}
|
|
]
|
|
}
|