build: fix include paths for bundled SFML

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2025-07-18 01:30:16 +00:00
parent 53f5ec7b7d
commit 23a3d0b20f
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
72 changed files with 172 additions and 173 deletions

View File

@ -120,9 +120,7 @@ if(ENABLE_LINK)
gba/gbaLink.h
)
target_include_directories(vbam-core
PRIVATE ${SFML_INCLUDE_DIR}
)
target_include_directories(vbam-core PRIVATE ${SFML_INCLUDE_DIR} ${SFML_INCLUDE_DIR}/SFML/Network ${SFML_INCLUDE_DIR}/SFML/System)
target_link_libraries(vbam-core
PRIVATE ${SFML_LIBRARIES}

View File

@ -26,7 +26,7 @@
#include <cstring>
#include <string>
#include "SFML/Network.hpp"
#include "../../../third_party/sfml/include/SFML/Network.hpp"
#include <libintl.h>
#define _(x) gettext(x)

View File

@ -7,7 +7,7 @@
#include <cstdint>
#include "SFML/Network.hpp"
#include "../../../../third_party/sfml/include/SFML/Network.hpp"
class GBASockClient {
public:

View File

@ -28,18 +28,18 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Ftp.hpp>
#include <SFML/Network/Http.hpp>
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Network/Packet.hpp>
#include <SFML/Network/Socket.hpp>
#include <SFML/Network/SocketHandle.hpp>
#include <SFML/Network/SocketSelector.hpp>
#include <SFML/Network/TcpListener.hpp>
#include <SFML/Network/TcpSocket.hpp>
#include <SFML/Network/UdpSocket.hpp>
#include "../../SFML/Network/Ftp.hpp"
#include "../../SFML/Network/Http.hpp"
#include "../../SFML/Network/IpAddress.hpp"
#include "../../SFML/Network/Packet.hpp"
#include "../../SFML/Network/Socket.hpp"
#include "../../SFML/Network/SocketHandle.hpp"
#include "../../SFML/Network/SocketSelector.hpp"
#include "../../SFML/Network/TcpListener.hpp"
#include "../../SFML/Network/TcpSocket.hpp"
#include "../../SFML/Network/UdpSocket.hpp"
#include <SFML/System.hpp>
#include "../../SFML/System.hpp"
////////////////////////////////////////////////////////////

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
////////////////////////////////////////////////////////////

View File

@ -27,11 +27,11 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/Network/TcpSocket.hpp>
#include "../../SFML/Network/TcpSocket.hpp"
#include <SFML/System/Time.hpp>
#include "../../SFML/System/Time.hpp"
#include "filesystem.hpp"
#include <string>

View File

@ -27,12 +27,12 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Network/TcpSocket.hpp>
#include "../../SFML/Network/IpAddress.hpp"
#include "../../SFML/Network/TcpSocket.hpp"
#include <SFML/System/Time.hpp>
#include "../../SFML/System/Time.hpp"
#include <iosfwd>
#include <map>

View File

@ -27,9 +27,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/System/Time.hpp>
#include "../../SFML/System/Time.hpp"
#include <iosfwd>
#include "optional.hpp"

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <string>
#include <vector>

View File

@ -27,9 +27,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/Network/SocketHandle.hpp>
#include "../../SFML/Network/SocketHandle.hpp"
namespace sf

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
#if defined(SFML_SYSTEM_WINDOWS)
#include <basetsd.h>

View File

@ -27,9 +27,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/System/Time.hpp>
#include "../../SFML/System/Time.hpp"
#include <memory>

View File

@ -27,10 +27,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Network/Socket.hpp>
#include "../../SFML/Network/IpAddress.hpp"
#include "../../SFML/Network/Socket.hpp"
namespace sf

View File

@ -27,11 +27,11 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/Network/Socket.hpp>
#include "../../SFML/Network/Socket.hpp"
#include <SFML/System/Time.hpp>
#include "../../SFML/System/Time.hpp"
#include "optional.hpp"
#include <vector>

View File

@ -27,10 +27,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Export.hpp>
#include "../../SFML/Network/Export.hpp"
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Network/Socket.hpp>
#include "../../SFML/Network/IpAddress.hpp"
#include "../../SFML/Network/Socket.hpp"
#include <optional.hpp>
#include <vector>

View File

@ -28,21 +28,21 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
#include <SFML/System/Angle.hpp>
#include <SFML/System/Clock.hpp>
#include <SFML/System/Err.hpp>
#include <SFML/System/Exception.hpp>
#include <SFML/System/FileInputStream.hpp>
#include <SFML/System/InputStream.hpp>
#include <SFML/System/MemoryInputStream.hpp>
#include <SFML/System/Sleep.hpp>
#include <SFML/System/String.hpp>
#include <SFML/System/Time.hpp>
#include <SFML/System/Utf.hpp>
#include <SFML/System/Vector2.hpp>
#include <SFML/System/Vector3.hpp>
#include "../../SFML/System/Angle.hpp"
#include "../../SFML/System/Clock.hpp"
#include "../../SFML/System/Err.hpp"
#include "../../SFML/System/Exception.hpp"
#include "../../SFML/System/FileInputStream.hpp"
#include "../../SFML/System/InputStream.hpp"
#include "../../SFML/System/MemoryInputStream.hpp"
#include "../../SFML/System/Sleep.hpp"
#include "../../SFML/System/String.hpp"
#include "../../SFML/System/Time.hpp"
#include "../../SFML/System/Utf.hpp"
#include "../../SFML/System/Vector2.hpp"
#include "../../SFML/System/Vector3.hpp"
////////////////////////////////////////////////////////////

View File

@ -472,7 +472,7 @@ namespace Literals
} // namespace Literals
} // namespace sf
#include <SFML/System/Angle.inl>
#include "../../SFML/System/Angle.inl"
////////////////////////////////////////////////////////////

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Angle.hpp> // NOLINT(misc-header-include-cycle)
#include "../../SFML/System/Angle.hpp" // NOLINT(misc-header-include-cycle)
#include <cassert>

View File

@ -27,14 +27,14 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <chrono>
#include <ratio>
#include <type_traits>
#ifdef SFML_SYSTEM_ANDROID
#include <SFML/System/SuspendAwareClock.hpp>
#include "../../SFML/System/SuspendAwareClock.hpp"
#endif

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <iosfwd>

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <stdexcept>

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
////////////////////////////////////////////////////////////

View File

@ -27,11 +27,11 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <SFML/System/InputStream.hpp>
#include "../../SFML/System/InputStream.hpp"
#include "filesystem.hpp"
#include <memory>
@ -39,6 +39,8 @@
#include <cstdint>
#include <cstdio>
#include "optional.hpp"
#ifdef SFML_SYSTEM_ANDROID
namespace sf
{

View File

@ -27,9 +27,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include "optional.hpp"

View File

@ -27,15 +27,16 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <SFML/System/InputStream.hpp>
#include "../../SFML/System/InputStream.hpp"
#include <cstddef>
#include <cstdint>
#include "optional.hpp"
namespace sf
{

View File

@ -28,7 +28,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#if !defined(SFML_SYSTEM_ANDROID)

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
namespace sf

View File

@ -27,9 +27,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <SFML/System/Utf.hpp>
#include "../../SFML/System/Utf.hpp"
#include <locale>
#include <string>
@ -647,7 +647,7 @@ private:
} // namespace sf
#include <SFML/System/String.inl>
#include "../../SFML/System/String.inl"
////////////////////////////////////////////////////////////

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/String.hpp> // NOLINT(misc-header-include-cycle)
#include "../../SFML/System/String.hpp" // NOLINT(misc-header-include-cycle)
#include <iterator>

View File

@ -28,7 +28,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <chrono>

View File

@ -444,7 +444,7 @@ constexpr Time& operator%=(Time& left, Time right);
} // namespace sf
#include <SFML/System/Time.inl>
#include "../../SFML/System/Time.inl"
////////////////////////////////////////////////////////////

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Time.hpp> // NOLINT(misc-header-include-cycle)
#include "../../SFML/System/Time.hpp" // NOLINT(misc-header-include-cycle)
#include <ratio>

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../SFML/Config.hpp"
#include <array>
#include <locale>
@ -733,7 +733,7 @@ using Utf32 = Utf<32>;
} // namespace sf
#include <SFML/System/Utf.inl>
#include "../../SFML/System/Utf.inl"
////////////////////////////////////////////////////////////

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Utf.hpp> // NOLINT(misc-header-include-cycle)
#include "../../SFML/System/Utf.hpp" // NOLINT(misc-header-include-cycle)
#include <iterator>

View File

@ -24,9 +24,9 @@
#pragma once
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
#include <SFML/System/Angle.hpp>
#include "../../SFML/System/Angle.hpp"
namespace sf
@ -382,7 +382,7 @@ template <typename T>
} // namespace sf
#include <SFML/System/Vector2.inl>
#include "../../SFML/System/Vector2.inl"
////////////////////////////////////////////////////////////

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Vector2.hpp> // NOLINT(misc-header-include-cycle)
#include "../../SFML/System/Vector2.hpp" // NOLINT(misc-header-include-cycle)
#include <cassert>

View File

@ -24,7 +24,7 @@
#pragma once
#include <SFML/System/Export.hpp>
#include "../../SFML/System/Export.hpp"
namespace sf
@ -307,7 +307,7 @@ using Vector3f = Vector3<float>;
} // namespace sf
#include <SFML/System/Vector3.inl>
#include "../../SFML/System/Vector3.inl"
////////////////////////////////////////////////////////////

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Vector3.hpp> // NOLINT(misc-header-include-cycle)
#include "../../SFML/System/Vector3.hpp" // NOLINT(misc-header-include-cycle)
#include <cassert>

View File

@ -47,7 +47,8 @@ source_group("" FILES ${SRC})
# define the sfml-network target
add_library(sfml-network ${SRC})
target_include_directories(sfml-network SYSTEM BEFORE PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../.. ${CMAKE_CURRENT_SOURCE_DIR}/../../../include)
target_include_directories(sfml-network SYSTEM BEFORE PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../include)
target_include_directories(sfml-network PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../..)
target_compile_definitions(sfml-network PRIVATE SFML_STATIC)
target_compile_definitions(sfml-network INTERFACE SFML_STATIC)

View File

@ -25,10 +25,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Ftp.hpp>
#include <SFML/Network/IpAddress.hpp>
#include "../../../include/SFML/Network/Ftp.hpp"
#include "../../../include/SFML/Network/IpAddress.hpp"
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <algorithm>
#include <array>

View File

@ -25,10 +25,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Http.hpp>
#include "../../../include/SFML/Network/Http.hpp"
#include <SFML/System/Err.hpp>
#include <SFML/System/Utils.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include "../../SFML/System/Utils.hpp"
#include <algorithm>
#include <array>

View File

@ -25,11 +25,11 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Http.hpp>
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Network/SocketImpl.hpp>
#include "../../../include/SFML/Network/Http.hpp"
#include "../../../include/SFML/Network/IpAddress.hpp"
#include "../../SFML/Network/SocketImpl.hpp"
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <istream>
#include <ostream>

View File

@ -25,11 +25,11 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Packet.hpp>
#include <SFML/Network/SocketImpl.hpp>
#include "../../../include/SFML/Network/Packet.hpp"
#include "../../SFML/Network/SocketImpl.hpp"
#include <SFML/System/String.hpp>
#include <SFML/System/Utils.hpp>
#include "../../../include/SFML/System/String.hpp"
#include "../../SFML/System/Utils.hpp"
#include <array>

View File

@ -25,10 +25,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Socket.hpp>
#include <SFML/Network/SocketImpl.hpp>
#include "../../../include/SFML/Network/Socket.hpp"
#include "../../SFML/Network/SocketImpl.hpp"
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <ostream>
#include <utility>

View File

@ -27,12 +27,12 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Socket.hpp>
#include <SFML/Network/SocketHandle.hpp>
#include "../../../include/SFML/Network/Socket.hpp"
#include "../../../include/SFML/Network/SocketHandle.hpp"
#if defined(SFML_SYSTEM_WINDOWS)
#include <SFML/System/Win32/WindowsHeader.hpp>
#include "../../../include/SFML/System/Win32/WindowsHeader.hpp"
#include <winsock2.h>
#include <ws2tcpip.h>

View File

@ -25,11 +25,11 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/Socket.hpp>
#include <SFML/Network/SocketImpl.hpp>
#include <SFML/Network/SocketSelector.hpp>
#include "../../../include/SFML/Network/Socket.hpp"
#include "../../SFML/Network/SocketImpl.hpp"
#include "../../../include/SFML/Network/SocketSelector.hpp"
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <algorithm>
#include <memory>

View File

@ -25,11 +25,11 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/SocketImpl.hpp>
#include <SFML/Network/TcpListener.hpp>
#include <SFML/Network/TcpSocket.hpp>
#include "../../SFML/Network/SocketImpl.hpp"
#include "../../../include/SFML/Network/TcpListener.hpp"
#include "../../../include/SFML/Network/TcpSocket.hpp"
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <ostream>

View File

@ -25,12 +25,12 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Network/Packet.hpp>
#include <SFML/Network/SocketImpl.hpp>
#include <SFML/Network/TcpSocket.hpp>
#include "../../../include/SFML/Network/IpAddress.hpp"
#include "../../../include/SFML/Network/Packet.hpp"
#include "../../SFML/Network/SocketImpl.hpp"
#include "../../../include/SFML/Network/TcpSocket.hpp"
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <algorithm>
#include <array>

View File

@ -25,12 +25,12 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/IpAddress.hpp>
#include <SFML/Network/Packet.hpp>
#include <SFML/Network/SocketImpl.hpp>
#include <SFML/Network/UdpSocket.hpp>
#include "../../../include/SFML/Network/IpAddress.hpp"
#include "../../../include/SFML/Network/Packet.hpp"
#include "../../SFML/Network/SocketImpl.hpp"
#include "../../../include/SFML/Network/UdpSocket.hpp"
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <ostream>

View File

@ -25,9 +25,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/SocketImpl.hpp>
#include "../SocketImpl.hpp"
#include <SFML/System/Err.hpp>
#include "../../../../include/SFML/System/Err.hpp"
#include <fcntl.h>
#include <ostream>

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Network/SocketImpl.hpp>
#include "../../SFML/Network/SocketImpl.hpp"
#include <cstdint>

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Android/Activity.hpp>
#include "../../../include/SFML/System/Android/Activity.hpp"
#include <android/log.h>

View File

@ -27,10 +27,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/EglContext.hpp>
#include <SFML/Window/Event.hpp>
#include "../../../include/SFML/Window/EglContext.hpp"
#include "../../../include/SFML/Window/Event.hpp"
#include <SFML/System/EnumArray.hpp>
#include "../../../include/SFML/System/EnumArray.hpp"
#include <android/configuration.h>
#include <android/native_activity.h>

View File

@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Android/Activity.hpp>
#include <SFML/System/NativeActivity.hpp>
#include "../../../include/SFML/System/Android/Activity.hpp"
#include "../../../include/SFML/System/NativeActivity.hpp"
namespace sf
{

View File

@ -26,8 +26,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Android/Activity.hpp>
#include <SFML/System/Android/ResourceStream.hpp>
#include "../../../include/SFML/System/Android/Activity.hpp"
#include "../../../include/SFML/System/Android/ResourceStream.hpp"
#include <mutex>

View File

@ -27,9 +27,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../../include/SFML/System/Export.hpp"
#include <SFML/System/InputStream.hpp>
#include "../../../include/SFML/System/InputStream.hpp"
#include <android/asset_manager.h>

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/SuspendAwareClock.hpp>
#include "../../../include/SFML/System/SuspendAwareClock.hpp"
#include <ctime>

View File

@ -73,7 +73,8 @@ endif()
# define the sfml-system target
add_library(sfml-system STATIC ${SRC} ${PLATFORM_SRC})
target_include_directories(sfml-system SYSTEM BEFORE PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../.. ${CMAKE_CURRENT_SOURCE_DIR}/../../../include)
target_include_directories(sfml-system SYSTEM BEFORE PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../include)
target_include_directories(sfml-system PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../..)
target_compile_definitions(sfml-system PRIVATE SFML_STATIC)
target_compile_definitions(sfml-system INTERFACE SFML_STATIC)

View File

@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Clock.hpp>
#include <SFML/System/Time.hpp>
#include "../../../include/SFML/System/Clock.hpp"
#include "../../../include/SFML/System/Time.hpp"
namespace sf

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Err.hpp>
#include "../../../include/SFML/System/Err.hpp"
#include <iostream>
#include <streambuf>

View File

@ -25,19 +25,17 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Exception.hpp>
#include <SFML/System/FileInputStream.hpp>
#include <SFML/System/Utils.hpp>
#include "../../../include/SFML/System/Exception.hpp"
#include "../../../include/SFML/System/FileInputStream.hpp"
#include "../../SFML/System/Utils.hpp"
#ifdef SFML_SYSTEM_ANDROID
#include <SFML/System/Android/Activity.hpp>
#include <SFML/System/Android/ResourceStream.hpp>
#include "../../../include/SFML/System/Android/Activity.hpp"
#include "../../../include/SFML/System/Android/ResourceStream.hpp"
#endif
#include <memory>
#include <cstddef>
#include "optional.hpp"
namespace sf
{
////////////////////////////////////////////////////////////

View File

@ -25,15 +25,13 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/MemoryInputStream.hpp>
#include "../../../include/SFML/System/MemoryInputStream.hpp"
#include <algorithm>
#include <cstddef>
#include <cstring>
#include "optional.hpp"
namespace sf
{
////////////////////////////////////////////////////////////

View File

@ -25,13 +25,13 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Sleep.hpp>
#include <SFML/System/Time.hpp>
#include "../../../include/SFML/System/Sleep.hpp"
#include "../../../include/SFML/System/Time.hpp"
#if defined(SFML_SYSTEM_WINDOWS)
#include <SFML/System/Win32/SleepImpl.hpp>
#include "Win32/SleepImpl.hpp"
#else
#include <SFML/System/Unix/SleepImpl.hpp>
#include "Unix/SleepImpl.hpp"
#endif

View File

@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/String.hpp>
#include <SFML/System/Utf.hpp>
#include "../../../include/SFML/System/String.hpp"
#include "../../../include/SFML/System/Utf.hpp"
#include <iterator>
#include <utility>

View File

@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Time.hpp>
#include <SFML/System/Unix/SleepImpl.hpp>
#include "../../../../include/SFML/System/Time.hpp"
#include "SleepImpl.hpp"
#include <cerrno>
#include <ctime>

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../../../include/SFML/Config.hpp"
namespace sf

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Utils.hpp>
#include "../../SFML/System/Utils.hpp"
#include <array>
#include <sstream>

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Export.hpp>
#include "../../../include/SFML/System/Export.hpp"
#include <array>
#include "filesystem.hpp"

View File

@ -22,7 +22,7 @@
//
////////////////////////////////////////////////////////////
#include <SFML/System/Vector2.hpp>
#include "../../../include/SFML/System/Vector2.hpp"
#include <type_traits>

View File

@ -22,7 +22,7 @@
//
////////////////////////////////////////////////////////////
#include <SFML/System/Vector3.hpp>
#include "../../../include/SFML/System/Vector3.hpp"
#include <type_traits>

View File

@ -25,9 +25,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/Time.hpp>
#include <SFML/System/Win32/SleepImpl.hpp>
#include <SFML/System/Win32/WindowsHeader.hpp>
#include "../../../include/SFML/System/Time.hpp"
#include "../../../include/SFML/System/Win32/SleepImpl.hpp"
#include "../../../include/SFML/System/Win32/WindowsHeader.hpp"
#include <mmsystem.h>

View File

@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>
#include "../../../include/SFML/Config.hpp"
namespace sf
{