-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ea870e
commit 01d196c
Showing
60 changed files
with
192 additions
and
9,894 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
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,31 +1,32 @@ | ||
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 | ||
SFML/src/SFML/Network/Http.cpp | ||
SFML/src/SFML/Network/IpAddress.cpp | ||
SFML/src/SFML/Network/Packet.cpp | ||
SFML/src/SFML/Network/Socket.cpp | ||
SFML/src/SFML/Network/SocketSelector.cpp | ||
SFML/src/SFML/Network/TcpListener.cpp | ||
SFML/src/SFML/Network/TcpSocket.cpp | ||
SFML/src/SFML/Network/UdpSocket.cpp | ||
) | ||
|
||
if(WIN32) | ||
list(APPEND SRC_NETWORK src/SFML/Network/Win32/SocketImpl.cpp) | ||
list(APPEND SRC_NETWORK SFML/src/SFML/Network/Win32/SocketImpl.cpp) | ||
else() | ||
list(APPEND SRC_NETWORK src/SFML/Network/Unix/SocketImpl.cpp) | ||
list(APPEND SRC_NETWORK SFML/src/SFML/Network/Unix/SocketImpl.cpp) | ||
endif() | ||
|
||
set(SRC_SYSTEM | ||
src/SFML/System/Err.cpp | ||
src/SFML/System/String.cpp | ||
src/SFML/System/Time.cpp | ||
SFML/src/SFML/System/Err.cpp | ||
SFML/include/SFML/System/String.hpp | ||
SFML/src/SFML/System/String.cpp | ||
SFML/src/SFML/System/Utils.cpp | ||
) | ||
|
||
add_library(sfml-network STATIC ${SRC_NETWORK}) | ||
add_library(sfml-system STATIC ${SRC_SYSTEM}) | ||
target_compile_definitions(sfml-system PUBLIC SFML_STATIC) | ||
target_include_directories(sfml-system PUBLIC include PRIVATE src) | ||
target_include_directories(sfml-network PUBLIC include PRIVATE src) | ||
target_include_directories(sfml-system PUBLIC SFML/include PRIVATE SFML/src) | ||
target_include_directories(sfml-network PUBLIC SFML/include PRIVATE SFML/src) | ||
target_link_libraries(sfml-network PUBLIC sfml-system) | ||
dolphin_disable_warnings(sfml-network) | ||
dolphin_disable_warnings(sfml-system) | ||
dolphin_disable_warnings(sfml-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<Import Project="..\..\Source\VSProps\Base.Macros.props" /> | ||
<Import Project="$(VSPropsDir)Base.Targets.props" /> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{93D73454-2512-424E-9CDA-4BB357FE13DD}</ProjectGuid> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<Import Project="$(VSPropsDir)Configuration.StaticLibrary.props" /> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings" /> | ||
<ImportGroup Label="PropertySheets"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" | ||
Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" | ||
Label="LocalAppDataPlatform" /> | ||
<Import Project="$(VSPropsDir)Base.props" /> | ||
<Import Project="$(VSPropsDir)ClDisableAllWarnings.props" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<ItemDefinitionGroup> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>SFML\include;SFML\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
<PreprocessorDefinitions>SFML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
</ClCompile> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ClCompile Include="SFML\src\SFML\Network\Http.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\IpAddress.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\Packet.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\Socket.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\SocketSelector.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\TcpListener.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\TcpSocket.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\UdpSocket.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\Network\Win32\SocketImpl.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\System\Err.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\System\String.cpp" /> | ||
<ClCompile Include="SFML\src\SFML\System\Utils.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="SFML\include\SFML\Config.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\Export.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\Http.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\IPAddress.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\Packet.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\Socket.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\SocketHandle.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\SocketSelector.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\TcpListener.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\TcpSocket.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\Network\UdpSocket.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\System.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\System\Err.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\System\Export.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\System\NonCopyable.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\System\String.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\System\String.inl" /> | ||
<ClInclude Include="SFML\include\SFML\System\Utf.hpp" /> | ||
<ClInclude Include="SFML\include\SFML\System\Utf.inl" /> | ||
<ClInclude Include="SFML\src\SFML\Network\SocketImpl.hpp" /> | ||
<ClInclude Include="SFML\src\SFML\Network\Win32\SocketImpl.hpp" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.