xenia/xenia.gyp

75 lines
1.5 KiB
Plaintext
Raw Normal View History

# Copyright 2013 Ben Vanik. All Rights Reserved.
{
'includes': [
'tools/tools.gypi',
'third_party/gflags.gypi',
'third_party/sparsehash.gypi',
'third_party/wslay.gypi',
],
'targets': [
{
'target_name': 'xenia',
'product_name': 'xenia',
'type': '<(library)',
'dependencies': [
'gflags',
'wslay',
'third_party/libjit/libjit.gyp:libjit',
],
'export_dependent_settings': [
'gflags',
'wslay',
'third_party/libjit/libjit.gyp:libjit',
],
'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': [
2013-02-07 03:57:45 +00:00
'wsock32',
],
}],
['OS == "mac"', {
'xcode_settings': {
'OTHER_LDFLAGS': [
],
},
}],
2013-02-10 20:21:56 +00:00
['OS == "linux"', {
'libraries': [
'-lpthread',
'-ldl',
],
}],
],
}],
],
},
'cflags': [
],
'include_dirs': [
'.',
'src/',
],
'includes': [
'src/xenia/sources.gypi',
],
},
],
}