xenia-canary/xenia.gyp

95 lines
2.0 KiB
Plaintext
Raw Normal View History

# 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',
'third_party/gflags.gypi',
'third_party/sparsehash.gypi',
],
'targets': [
{
'target_name': 'xenia',
'product_name': 'xenia',
'type': '<(library)',
'dependencies': [
2013-05-24 00:30:13 +00:00
'asmjit',
2013-05-24 00:39:03 +00:00
'beaengine',
'gflags',
],
'export_dependent_settings': [
2013-05-24 00:30:13 +00:00
'asmjit',
2013-05-24 00:39:03 +00:00
'beaengine',
'gflags',
],
'direct_dependent_settings': {
'include_dirs': [
'src/',
],
'target_conditions': [
['_type=="shared_library"', {
'cflags': [
],
}],
['_type=="executable"', {
'conditions': [
2013-02-07 03:57:45 +00:00
['OS == "win"', {
'libraries': [
'kernel32',
'user32',
'ole32',
2013-02-07 03:57:45 +00:00
'wsock32',
2013-10-12 03:23:58 +00:00
'dxgi',
'd3d11',
'd3dcompiler',
],
}],
['OS == "mac"', {
'xcode_settings': {
'OTHER_LDFLAGS': [
],
},
}],
2013-02-10 20:21:56 +00:00
['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',
],
},
],
}