Initial project skeleton.
This includes a working gyp-based build of an executable that uses LLVM.
This commit is contained in:
7
tools/tools.gypi
Normal file
7
tools/tools.gypi
Normal file
@@ -0,0 +1,7 @@
|
||||
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
||||
{
|
||||
'includes': [
|
||||
'xenia-info/xenia-info.gypi',
|
||||
'xenia-run/xenia-run.gypi',
|
||||
],
|
||||
}
|
||||
14
tools/xenia-info/xenia-info.cc
Normal file
14
tools/xenia-info/xenia-info.cc
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <xenia/xenia.h>
|
||||
|
||||
int main() {
|
||||
return some_function(4);
|
||||
}
|
||||
21
tools/xenia-info/xenia-info.gypi
Normal file
21
tools/xenia-info/xenia-info.gypi
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'xenia-info',
|
||||
'type': 'executable',
|
||||
|
||||
'dependencies': [
|
||||
'xeniacore',
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'.',
|
||||
],
|
||||
|
||||
'sources': [
|
||||
'xenia-info.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
14
tools/xenia-run/xenia-run.cc
Normal file
14
tools/xenia-run/xenia-run.cc
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <xenia/xenia.h>
|
||||
|
||||
int main() {
|
||||
return some_function(4);
|
||||
}
|
||||
21
tools/xenia-run/xenia-run.gypi
Normal file
21
tools/xenia-run/xenia-run.gypi
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'xenia-run',
|
||||
'type': 'executable',
|
||||
|
||||
'dependencies': [
|
||||
'xeniacore',
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'.',
|
||||
],
|
||||
|
||||
'sources': [
|
||||
'xenia-run.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user