2013-01-11 09:23:08 +00:00
|
|
|
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'tools/tools.gypi',
|
2013-05-24 00:30:13 +00:00
|
|
|
'third_party/asmjit.gypi',
|
2013-05-24 00:39:03 +00:00
|
|
|
'third_party/beaengine.gypi',
|
2013-01-24 05:31:23 +00:00
|
|
|
'third_party/gflags.gypi',
|
2013-01-28 01:49:32 +00:00
|
|
|
'third_party/sparsehash.gypi',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'targets': [
|
|
|
|
{
|
2013-02-06 10:19:50 +00:00
|
|
|
'target_name': 'xenia',
|
|
|
|
'product_name': 'xenia',
|
2013-02-02 10:50:56 +00:00
|
|
|
'type': '<(library)',
|
2013-01-11 09:23:08 +00:00
|
|
|
|
2013-01-24 05:31:23 +00:00
|
|
|
'dependencies': [
|
2013-05-24 00:30:13 +00:00
|
|
|
'asmjit',
|
2013-05-24 00:39:03 +00:00
|
|
|
'beaengine',
|
2013-01-24 05:31:23 +00:00
|
|
|
'gflags',
|
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
2013-05-24 00:30:13 +00:00
|
|
|
'asmjit',
|
2013-05-24 00:39:03 +00:00
|
|
|
'beaengine',
|
2013-01-24 05:31:23 +00:00
|
|
|
'gflags',
|
|
|
|
],
|
|
|
|
|
2013-01-11 09:23:08 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
2013-02-06 10:19:50 +00:00
|
|
|
'src/',
|
2013-01-28 06:14:24 +00:00
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'target_conditions': [
|
|
|
|
['_type=="shared_library"', {
|
|
|
|
'cflags': [
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_type=="executable"', {
|
2013-01-30 19:03:19 +00:00
|
|
|
'conditions': [
|
2013-02-07 03:57:45 +00:00
|
|
|
['OS == "win"', {
|
2013-01-30 19:03:19 +00:00
|
|
|
'libraries': [
|
2013-10-18 06:35:54 +00:00
|
|
|
'kernel32',
|
|
|
|
'user32',
|
|
|
|
'ole32',
|
2013-02-07 03:57:45 +00:00
|
|
|
'wsock32',
|
2013-10-12 03:23:58 +00:00
|
|
|
'dxgi',
|
|
|
|
'd3d11',
|
2013-10-18 06:35:54 +00:00
|
|
|
'd3dcompiler',
|
2013-10-24 05:42:48 +00:00
|
|
|
'xinput',
|
2013-01-30 19:03:19 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS == "mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_LDFLAGS': [
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2013-02-10 20:21:56 +00:00
|
|
|
['OS == "linux"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lpthread',
|
|
|
|
'-ldl',
|
|
|
|
],
|
|
|
|
}],
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2013-01-11 09:23:08 +00:00
|
|
|
},
|
2013-10-18 06:35:54 +00:00
|
|
|
'conditions': [
|
|
|
|
['OS == "win"', {
|
|
|
|
'copies': [
|
|
|
|
{
|
|
|
|
'files': [
|
|
|
|
# Depending on which SDK you have...
|
|
|
|
'<(windows_sdk_dir)/redist/d3d/x64/d3dcompiler_47.dll',
|
|
|
|
],
|
|
|
|
'destination': '<(PRODUCT_DIR)',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2013-01-11 09:23:08 +00:00
|
|
|
|
|
|
|
'cflags': [
|
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
2013-02-06 10:19:50 +00:00
|
|
|
'src/xenia/sources.gypi',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|