diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-04 23:19:23 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-04 23:19:23 (GMT) |
| commit | a4e75d587fb6a256da5584328b3dd84a185b5640 (patch) | |
| tree | 0df2b0aa7b090259665b4d58a3a2e8c0ab2c8c17 /SConscript | |
| parent | 73fe68a3eb336bac2b76c70ec659bb0fd10df8c1 (diff) | |
| download | powder-a4e75d587fb6a256da5584328b3dd84a185b5640.zip powder-a4e75d587fb6a256da5584328b3dd84a185b5640.tar.gz | |
add #ifdef WIN / #idndef WIN around some lua socket files, for easier visual studio compatibility
Diffstat (limited to 'SConscript')
| -rwxr-xr-x | SConscript | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -267,12 +267,7 @@ 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"] +sources+=Glob("src/socket/*.c") #for source in sources: # print str(source) |
