Prepping poly.
This commit is contained in:
parent
1e19c6b1fd
commit
500647968c
|
@ -19,10 +19,6 @@
|
|||
#include <alloy/tracing/tracing.h>
|
||||
|
||||
|
||||
// TODO(benvanik): based on platform/config/etc.
|
||||
#include <alloy/backend/ivm/ivm_backend.h>
|
||||
|
||||
|
||||
namespace alloy {
|
||||
|
||||
} // namespace alloy
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2014 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef POLY_POLY_PRIVATE_H_
|
||||
#define POLY_POLY_PRIVATE_H_
|
||||
|
||||
#include <gflags/gflags.h>
|
||||
|
||||
namespace poly {
|
||||
|
||||
} // namespace poly
|
||||
|
||||
#endif // POLY_POLY_PRIVATE_H_
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2014 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <poly/poly.h>
|
||||
#include <poly/poly-private.h>
|
||||
|
||||
namespace poly {
|
||||
|
||||
} // namespace poly
|
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2014 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef POLY_POLY_H_
|
||||
#define POLY_POLY_H_
|
||||
|
||||
namespace poly {
|
||||
|
||||
} // namespace poly
|
||||
|
||||
#endif // POLY_POLY_H_
|
|
@ -0,0 +1,30 @@
|
|||
# Copyright 2014 Ben Vanik. All Rights Reserved.
|
||||
{
|
||||
'sources': [
|
||||
'poly-private.h',
|
||||
'poly.cc',
|
||||
'poly.h',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS == "mac" or OS == "linux"', {
|
||||
'sources': [
|
||||
],
|
||||
}],
|
||||
['OS == "linux"', {
|
||||
'sources': [
|
||||
],
|
||||
}],
|
||||
['OS == "mac"', {
|
||||
'sources': [
|
||||
],
|
||||
}],
|
||||
['OS == "win"', {
|
||||
'sources': [
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
'includes': [
|
||||
],
|
||||
}
|
84
xenia.gyp
84
xenia.gyp
|
@ -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': {
|
||||
|
|
Loading…
Reference in New Issue