Initial project skeleton.

This includes a working gyp-based build of an executable that uses LLVM.
This commit is contained in:
Ben Vanik
2013-01-11 01:23:08 -08:00
parent c03f57c8c6
commit 7e4a9220d7
21 changed files with 920 additions and 9 deletions

16
bin/xenia-info Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
DIR="$( cd "$( dirname "$0" )" && pwd )"
CONFIG=release
case "$*" in
(*--debug*) CONFIG=debug;;
esac
EXEC=$DIR/../build/xenia/$CONFIG/xenia-info
if [ ! -f "$EXEC" ]; then
python $DIR/../xenia-build.py build --$CONFIG
fi
$EXEC "$@"

16
bin/xenia-run Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
DIR="$( cd "$( dirname "$0" )" && pwd )"
CONFIG=release
case "$*" in
(*--debug*) CONFIG=debug;;
esac
EXEC=$DIR/../build/xenia/$CONFIG/xenia-run
if [ ! -f "$EXEC" ]; then
python $DIR/../xenia-build.py build --$CONFIG
fi
$EXEC "$@"