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) +{ + + +} +