Prepping poly.

This commit is contained in:
Ben Vanik
2014-07-09 22:05:41 -07:00
parent 1e19c6b1fd
commit 500647968c
6 changed files with 165 additions and 4 deletions

View File

@@ -192,6 +192,86 @@
},
'targets': [
{
'target_name': 'poly',
'product_name': 'poly',
'type': 'static_library',
'dependencies': [
'gflags',
],
'conditions': [
['OS == "mac"', {
'xcode_settings': {
'OTHER_CFLAGS': [
'-fno-operator-names',
],
},
}],
['OS == "linux"', {
'cflags': [
'-fno-operator-names',
],
}],
],
'export_dependent_settings': [
'gflags',
],
'direct_dependent_settings': {
'include_dirs': [
'src/',
],
'target_conditions': [
['_type=="shared_library"', {
'cflags': [
],
}],
['_type=="executable"', {
'conditions': [
['OS == "win"', {
'libraries': [
'kernel32',
'user32',
'ole32',
'ntdll',
'advapi32',
],
}],
['OS == "mac"', {
'xcode_settings': {
'OTHER_LDFLAGS': [
],
},
}],
['OS == "linux"', {
'libraries': [
'-lpthread',
'-ldl',
],
}],
],
}],
],
},
'cflags': [
],
'include_dirs': [
'.',
'src/',
'<(INTERMEDIATE_DIR)',
],
'includes': [
'src/poly/sources.gypi',
],
},
{
'target_name': 'alloy',
'product_name': 'alloy',
@@ -201,6 +281,7 @@
'beaengine',
'gflags',
'llvm',
'poly',
],
'conditions': [
@@ -222,6 +303,7 @@
'beaengine',
'gflags',
'llvm',
'poly',
],
'direct_dependent_settings': {
@@ -284,10 +366,12 @@
'dependencies': [
'gflags',
'alloy',
'poly',
],
'export_dependent_settings': [
'gflags',
'alloy',
'poly',
],
'direct_dependent_settings': {