2013-01-11 09:23:08 +00:00
|
|
|
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'common.gypi',
|
|
|
|
'tools/tools.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': [
|
|
|
|
{
|
|
|
|
'target_name': 'xeniacore',
|
|
|
|
'product_name': 'xeniacore',
|
|
|
|
'type': 'static_library',
|
|
|
|
|
2013-01-24 05:31:23 +00:00
|
|
|
'dependencies': [
|
|
|
|
'gflags',
|
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'gflags',
|
|
|
|
],
|
|
|
|
|
2013-01-11 09:23:08 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'include/',
|
|
|
|
],
|
2013-01-13 07:25:41 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
|
|
|
'src/xenia/sources.gypi',
|
|
|
|
'src/core/sources.gypi',
|
2013-02-01 13:37:42 +00:00
|
|
|
'src/dbg/sources.gypi',
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'xeniakernel',
|
|
|
|
'product_name': 'xeniakernel',
|
|
|
|
'type': 'static_library',
|
|
|
|
|
|
|
|
'dependencies': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
|
|
|
'src/kernel/sources.gypi',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'xeniacpu',
|
|
|
|
'product_name': 'xeniacpu',
|
|
|
|
'type': 'static_library',
|
2013-01-11 09:54:48 +00:00
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'dependencies': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'direct_dependent_settings': {
|
2013-01-28 06:14:24 +00:00
|
|
|
'include_dirs': [
|
2013-01-30 10:19:38 +00:00
|
|
|
'<@(llvm_includedir)',
|
2013-01-28 06:14:24 +00:00
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'target_conditions': [
|
|
|
|
['_type=="shared_library"', {
|
|
|
|
'cflags': [
|
2013-01-30 10:19:38 +00:00
|
|
|
'<(llvm_cxxflags)',
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_type=="executable"', {
|
2013-01-30 19:03:19 +00:00
|
|
|
'conditions': [
|
|
|
|
['OS != "mac"', {
|
|
|
|
'libraries': [
|
|
|
|
'<@(llvm_libs)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS == "mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_LDFLAGS': [
|
|
|
|
'<!@(<(llvm_config) --libs all)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2013-01-11 09:23:08 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'cflags': [
|
2013-01-30 10:19:38 +00:00
|
|
|
'<(llvm_cxxflags)',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
2013-01-30 10:19:38 +00:00
|
|
|
'<(llvm_includedir)',
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
|
|
|
'src/cpu/sources.gypi',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'xeniagpu',
|
|
|
|
'product_name': 'xeniagpu',
|
|
|
|
'type': 'static_library',
|
|
|
|
|
|
|
|
'dependencies': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'xeniacore',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2013-01-13 07:25:41 +00:00
|
|
|
'src/',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
2013-01-13 07:25:41 +00:00
|
|
|
'src/gpu/sources.gypi',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|