Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1522 from jcowgill/sfml-2.1
Update / Port to SFML 2.1
- Loading branch information
Showing
64 changed files
with
7,433 additions
and
4,242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,27 @@ | ||
include_directories(BEFORE include) | ||
include_directories(BEFORE include src) | ||
|
||
set(SRCS 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) | ||
set(SRC_NETWORK | ||
src/SFML/Network/Http.cpp | ||
src/SFML/Network/IPAddress.cpp | ||
src/SFML/Network/Packet.cpp | ||
src/SFML/Network/Socket.cpp | ||
src/SFML/Network/SocketSelector.cpp | ||
src/SFML/Network/TcpListener.cpp | ||
src/SFML/Network/TcpSocket.cpp | ||
src/SFML/Network/UdpSocket.cpp | ||
) | ||
|
||
if(UNIX) | ||
set(SRCS ${SRCS} src/SFML/Network/Unix/SocketHelper.cpp) | ||
elseif(WIN32) | ||
set(SRCS ${SRCS} src/SFML/Network/Win32/SocketHelper.cpp) | ||
if(WIN32) | ||
list(APPEND SRC_NETWORK src/SFML/Network/Win32/SocketImpl.cpp) | ||
else() | ||
list(APPEND SRC_NETWORK src/SFML/Network/Unix/SocketImpl.cpp) | ||
endif() | ||
|
||
add_library(sfml-network ${SRCS}) | ||
set(SRC_SYSTEM | ||
src/SFML/System/Err.cpp | ||
src/SFML/System/String.cpp | ||
src/SFML/System/Time.cpp | ||
) | ||
|
||
add_library(sfml-network ${SRC_NETWORK}) | ||
add_library(sfml-system ${SRC_SYSTEM}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,50 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<ClCompile Include="..\..\src\SFML\Network\Ftp.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\Http.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\IPAddress.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\Packet.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\SelectorBase.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\SocketTCP.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\SocketUDP.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\Win32\SocketHelper.cpp"> | ||
<ClCompile Include="..\..\src\SFML\Network\Socket.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\SocketSelector.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\TcpListener.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\TcpSocket.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\UdpSocket.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\Network\Win32\SocketImpl.cpp"> | ||
<Filter>Win32</Filter> | ||
</ClCompile> | ||
<ClCompile Include="..\..\src\SFML\System\Err.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\System\String.cpp" /> | ||
<ClCompile Include="..\..\src\SFML\System\Time.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="..\..\include\SFML\Network\Ftp.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Config.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\Export.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\Http.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\IPAddress.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\Packet.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\Selector.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\SelectorBase.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\SocketHelper.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\Sockets.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\SocketTCP.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\SocketUDP.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\Win32\SocketHelper.hpp"> | ||
<ClInclude Include="..\..\include\SFML\Network\Socket.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\SocketHandle.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\SocketSelector.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\TcpListener.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\TcpSocket.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\Network\UdpSocket.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System\Err.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System\Export.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System\NonCopyable.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System\String.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System\Time.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System\Utf.hpp" /> | ||
<ClInclude Include="..\..\include\SFML\System\Utf.inl" /> | ||
<ClInclude Include="..\..\src\SFML\Network\SocketImpl.hpp" /> | ||
<ClInclude Include="..\..\src\SFML\Network\Win32\SocketImpl.hpp"> | ||
<Filter>Win32</Filter> | ||
</ClInclude> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="..\..\include\SFML\Network\Selector.inl" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Filter Include="Win32"> | ||
<UniqueIdentifier>{8280ecca-24fc-48a2-b7f5-6aca41826b66}</UniqueIdentifier> | ||
</Filter> | ||
</ItemGroup> | ||
</Project> | ||
</Project> |
Oops, something went wrong.