summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-05-04 21:26:49 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-05-04 21:26:49 (GMT)
commit66e21ce0498f623ccffcee95b1fdcbc218464caa (patch)
tree83de913847ce0b1808c46a1bdedb1c4c6c66296d /SConscript
parent3799d5ed86e7b508b39544cad3b3346655c804f1 (diff)
parente7b29ab9b5e037a8896c62f0473cae8d353d5114 (diff)
downloadpowder-66e21ce0498f623ccffcee95b1fdcbc218464caa.zip
powder-66e21ce0498f623ccffcee95b1fdcbc218464caa.tar.gz
Merge pull request #131 from mniip/lua
builtin luasocket
Diffstat (limited to 'SConscript')
-rwxr-xr-xSConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/SConscript b/SConscript
index 02ee174..693a036 100755
--- a/SConscript
+++ b/SConscript
@@ -267,6 +267,12 @@ sources+=Glob("src/gui/*/*.cpp")
sources+=Glob("src/simulation/elements/*.cpp")
sources+=Glob("src/simulation/tools/*.cpp")
sources+=Glob("src/client/requestbroker/*.cpp")
+sources+=["src/socket/auxiliar.c","src/socket/buffer.c","src/socket/except.c","src/socket/inet.c","src/socket/io.c","src/socket/luasocket.c","src/socket/options.c","src/socket/select.c","src/socket/tcp.c","src/socket/timeout.c","src/socket/udp.c"]
+# looks better than lambdaing files out later
+if(GetOption('win')):
+ sources+=["src/socket/wsocket.c"]
+else:
+ sources+=["src/socket/usocket.c","src/socket/unix.c"]
#for source in sources:
# print str(source)