aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-04-06 23:26:15 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-07 10:26:35 +0300
commit1c4c4816b7030b1071ede7bf6d794f0cd65b391b (patch)
tree7d24f11b7089a2b304c93bc8c71ca5bce8083a41
parent5a642b1a7ea78ab5e5a60f83a37dca46623559e0 (diff)
Use .bat files to route 'python emxxx' to 'emxxx' on Windows. Remove reference to juj/vs-tool emxxx.exe in favor of the new .bat files.
-rw-r--r--cmake/Platform/Emscripten.cmake8
-rw-r--r--em++.bat2
-rw-r--r--em-config.bat2
-rw-r--r--emar.bat2
-rw-r--r--emconfigure.bat2
-rw-r--r--emlibtool.bat2
-rw-r--r--emmake.bat2
-rw-r--r--emranlib.bat2
8 files changed, 18 insertions, 4 deletions
diff --git a/cmake/Platform/Emscripten.cmake b/cmake/Platform/Emscripten.cmake
index 4b9c6572..aafd38a8 100644
--- a/cmake/Platform/Emscripten.cmake
+++ b/cmake/Platform/Emscripten.cmake
@@ -24,10 +24,10 @@ endif()
# Specify the compilers to use for C and C++
if ("${CMAKE_C_COMPILER}" STREQUAL "")
- set(CMAKE_C_COMPILER "emcc.exe")
- set(CMAKE_CXX_COMPILER "em++.exe")
- set(CMAKE_AR "emar.exe")
- set(CMAKE_RANLIB "emranlib.exe")
+ set(CMAKE_C_COMPILER "emcc.bat")
+ set(CMAKE_CXX_COMPILER "em++.bat")
+ set(CMAKE_AR "emar.bat")
+ set(CMAKE_RANLIB "emranlib.bat")
endif()
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
diff --git a/em++.bat b/em++.bat
new file mode 100644
index 00000000..b639ff29
--- /dev/null
+++ b/em++.bat
@@ -0,0 +1,2 @@
+@echo off
+python %~dp0\em++ %* \ No newline at end of file
diff --git a/em-config.bat b/em-config.bat
new file mode 100644
index 00000000..63b15ea4
--- /dev/null
+++ b/em-config.bat
@@ -0,0 +1,2 @@
+@echo off
+python %~dp0\em-config %* \ No newline at end of file
diff --git a/emar.bat b/emar.bat
new file mode 100644
index 00000000..2cfb0850
--- /dev/null
+++ b/emar.bat
@@ -0,0 +1,2 @@
+@echo off
+python %~dp0\emar %* \ No newline at end of file
diff --git a/emconfigure.bat b/emconfigure.bat
new file mode 100644
index 00000000..f900f407
--- /dev/null
+++ b/emconfigure.bat
@@ -0,0 +1,2 @@
+@echo off
+python %~dp0\emconfigure %* \ No newline at end of file
diff --git a/emlibtool.bat b/emlibtool.bat
new file mode 100644
index 00000000..76ce48c3
--- /dev/null
+++ b/emlibtool.bat
@@ -0,0 +1,2 @@
+@echo off
+python %~dp0\emlibtool %* \ No newline at end of file
diff --git a/emmake.bat b/emmake.bat
new file mode 100644
index 00000000..2db09d07
--- /dev/null
+++ b/emmake.bat
@@ -0,0 +1,2 @@
+@echo off
+python %~dp0\emmake %* \ No newline at end of file
diff --git a/emranlib.bat b/emranlib.bat
new file mode 100644
index 00000000..69bf8aa4
--- /dev/null
+++ b/emranlib.bat
@@ -0,0 +1,2 @@
+@echo off
+python %~dp0\emranlib %* \ No newline at end of file