diff options
| author | Simon 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) |
| commit | 66e21ce0498f623ccffcee95b1fdcbc218464caa (patch) | |
| tree | 83de913847ce0b1808c46a1bdedb1c4c6c66296d /SConscript | |
| parent | 3799d5ed86e7b508b39544cad3b3346655c804f1 (diff) | |
| parent | e7b29ab9b5e037a8896c62f0473cae8d353d5114 (diff) | |
| download | powder-66e21ce0498f623ccffcee95b1fdcbc218464caa.zip powder-66e21ce0498f623ccffcee95b1fdcbc218464caa.tar.gz | |
Merge pull request #131 from mniip/lua
builtin luasocket
Diffstat (limited to 'SConscript')
| -rwxr-xr-x | SConscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |
