aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjuj <jujjyl@gmail.com>2014-04-07 15:32:45 +0300
committerjuj <jujjyl@gmail.com>2014-04-07 15:32:45 +0300
commitd19741ee04ee2c87af48c22902afdc06c22f4aac (patch)
tree1aab2fd5cb0f5c1df35b79578a9e7e0f3a5a7bee
parent9bb5c4d0bc1e563085e0caf6fb33cd20c6704f63 (diff)
parent6fa00c26cc260c8cc5b37d4d435477c071b89054 (diff)
Merge pull request #1464 from abergmeier/emcmake
Introduced wrapper emcmake
-rwxr-xr-xemcmake8
-rw-r--r--emcmake.bat2
2 files changed, 10 insertions, 0 deletions
diff --git a/emcmake b/emcmake
new file mode 100755
index 00000000..9617ace5
--- /dev/null
+++ b/emcmake
@@ -0,0 +1,8 @@
+#!/usr/bin/env python2
+
+import os, subprocess, sys
+from tools import shared
+
+configure_path = shared.path_from_root('emconfigure')
+exit(subprocess.call([configure_path] + sys.argv[1:]))
+
diff --git a/emcmake.bat b/emcmake.bat
new file mode 100644
index 00000000..c05ba028
--- /dev/null
+++ b/emcmake.bat
@@ -0,0 +1,2 @@
+@echo off
+python "%~dp0\emcmake" %*