mirror of
https://github.com/xenia-project/xenia.git
synced 2024-12-12 13:56:03 +00:00
96 lines
2.0 KiB
Python
96 lines
2.0 KiB
Python
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
|
{
|
|
'includes': [
|
|
'tools/tools.gypi',
|
|
'third_party/asmjit.gypi',
|
|
'third_party/beaengine.gypi',
|
|
'third_party/gflags.gypi',
|
|
'third_party/sparsehash.gypi',
|
|
],
|
|
|
|
'targets': [
|
|
{
|
|
'target_name': 'xenia',
|
|
'product_name': 'xenia',
|
|
'type': '<(library)',
|
|
|
|
'dependencies': [
|
|
'asmjit',
|
|
'beaengine',
|
|
'gflags',
|
|
],
|
|
'export_dependent_settings': [
|
|
'asmjit',
|
|
'beaengine',
|
|
'gflags',
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
'include_dirs': [
|
|
'src/',
|
|
],
|
|
|
|
'target_conditions': [
|
|
['_type=="shared_library"', {
|
|
'cflags': [
|
|
],
|
|
}],
|
|
['_type=="executable"', {
|
|
'conditions': [
|
|
['OS == "win"', {
|
|
'libraries': [
|
|
'kernel32',
|
|
'user32',
|
|
'ole32',
|
|
'wsock32',
|
|
'dxgi',
|
|
'd3d11',
|
|
'd3dcompiler',
|
|
'xinput',
|
|
],
|
|
}],
|
|
['OS == "mac"', {
|
|
'xcode_settings': {
|
|
'OTHER_LDFLAGS': [
|
|
],
|
|
},
|
|
}],
|
|
['OS == "linux"', {
|
|
'libraries': [
|
|
'-lpthread',
|
|
'-ldl',
|
|
],
|
|
}],
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
'conditions': [
|
|
['OS == "win"', {
|
|
'copies': [
|
|
{
|
|
'files': [
|
|
# Depending on which SDK you have...
|
|
'<(windows_sdk_dir)/redist/d3d/x64/d3dcompiler_47.dll',
|
|
],
|
|
'destination': '<(PRODUCT_DIR)',
|
|
},
|
|
],
|
|
}],
|
|
],
|
|
|
|
'cflags': [
|
|
],
|
|
|
|
'include_dirs': [
|
|
'.',
|
|
'src/',
|
|
],
|
|
|
|
'includes': [
|
|
'src/xenia/sources.gypi',
|
|
],
|
|
},
|
|
],
|
|
}
|