21 lines
491 B
Python
21 lines
491 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
|
|
if env.has_key('shared_sfml') and env['shared_sfml']:
|
|
Return()
|
|
|
|
files = [
|
|
'src/SFML/Network/Ftp.cpp',
|
|
'src/SFML/Network/Http.cpp',
|
|
'src/SFML/Network/IPAddress.cpp',
|
|
'src/SFML/Network/Packet.cpp',
|
|
'src/SFML/Network/SelectorBase.cpp',
|
|
'src/SFML/Network/SocketTCP.cpp',
|
|
'src/SFML/Network/SocketUDP.cpp',
|
|
'src/SFML/Network/Unix/SocketHelper.cpp',
|
|
]
|
|
|
|
env['CPPPATH'] += ['#Externals/SFML/include']
|
|
env['LIBS'] += env.StaticLibrary('sfml-network', files)
|