From 31e22186ef893699e244b8a48bdb73324a900fdc Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sun, 27 Jun 2010 14:29:08 +0200 Subject: [PATCH] added mwscript compiler standalone-executable (doesn't do anything yet) --- CMakeLists.txt | 10 ++++++++++ apps/mwcompiler/main.cpp | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 apps/mwcompiler/main.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 1de408bb4..3cfdb5f97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,3 +158,13 @@ if (APPLE) MACOSX_BUNDLE_BUNDLE_NAME "OpenMW" ) endif (APPLE) + +# Tools +option(BUILD_MWCOMPILER "build standalone Morrowind script compiler" ON) + +if (BUILD_MWCOMPILER) +set(TOOLS_MWCOMPILER apps/mwcompiler/main.cpp) + +add_executable(mwcompiler ${TOOLS_MWCOMPILER}) +endif() + diff --git a/apps/mwcompiler/main.cpp b/apps/mwcompiler/main.cpp new file mode 100644 index 000000000..3e42b7caf --- /dev/null +++ b/apps/mwcompiler/main.cpp @@ -0,0 +1,8 @@ +// Stand-alone MW-script compiler + +int main (int argc, char **argv) +{ + + +} +