summaryrefslogtreecommitdiff
path: root/ThirdParty/toluapp/config_msvc.py
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-08 01:17:11 +0800
committerchai <chaifix@163.com>2021-11-08 01:17:11 +0800
commitefce5b6bd5c9d4f8214a71e0f7a7c35751710a4c (patch)
tree0789475ded5c377667165a3ddb047ca6703bcf33 /ThirdParty/toluapp/config_msvc.py
parented78df90944bbe6b7de7308bda2bf3a7f1bc3de6 (diff)
+ tolua
+ lpeg
Diffstat (limited to 'ThirdParty/toluapp/config_msvc.py')
-rw-r--r--ThirdParty/toluapp/config_msvc.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/ThirdParty/toluapp/config_msvc.py b/ThirdParty/toluapp/config_msvc.py
new file mode 100644
index 0000000..e2a21bd
--- /dev/null
+++ b/ThirdParty/toluapp/config_msvc.py
@@ -0,0 +1,28 @@
+
+## This is the MSVC configuration file
+# use 'scons -h' to see the list of command line options available
+
+# flags for the compiler
+CCFLAGS = ['/nologo']
+
+# this is the default directory for installation. Files will be installed on
+# <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install'
+#
+# You can also specify this directory on the command line with the 'prefix'
+# option
+#
+# If you leave it as 'None', we'll try to auto-detect it (as 'PLATFORMSDKDIR'
+# detected by SCons).
+
+prefix = None # (it's a string)
+
+# the libraries
+LIBS = ['lua', 'lualib']
+
+# linkflags
+LINKFLAGS = ['/nologo']
+
+## We need to specifiy the environment for the PATH and LIB and all those
+# parameters cl tales from it
+import os
+ENV = os.environ