mirror of https://github.com/OpenTTD/OpenTTD.git
Codechange: workaround CMake/Xcode duplicate file name issue (#11186)
Having a library with files with the same name isn't supported in CMake's Xcode project file generation: https://gitlab.kitware.com/cmake/cmake/-/issues/20501. One of the files is renamed to work around this bug.
This commit is contained in:
parent
0089323542
commit
7e54418022
|
@ -13,7 +13,7 @@
|
|||
#include "engine_func.h"
|
||||
#include "landscape.h"
|
||||
#include "saveload/saveload.h"
|
||||
#include "network/core/game_info.h"
|
||||
#include "network/core/network_game_info.h"
|
||||
#include "network/network.h"
|
||||
#include "network/network_func.h"
|
||||
#include "network/network_base.h"
|
||||
|
|
|
@ -5,8 +5,8 @@ add_files(
|
|||
config.h
|
||||
core.cpp
|
||||
core.h
|
||||
game_info.cpp
|
||||
game_info.h
|
||||
network_game_info.cpp
|
||||
network_game_info.h
|
||||
host.cpp
|
||||
host.h
|
||||
http.h
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "game_info.h"
|
||||
#include "network_game_info.h"
|
||||
#include "../../core/bitmath_func.hpp"
|
||||
#include "../../company_base.h"
|
||||
#include "../../timer/timer_game_calendar.h"
|
|
@ -15,7 +15,7 @@
|
|||
#include "os_abstraction.h"
|
||||
#include "tcp.h"
|
||||
#include "packet.h"
|
||||
#include "game_info.h"
|
||||
#include "network_game_info.h"
|
||||
|
||||
/**
|
||||
* Enum with all types of TCP Game Coordinator packets. The order MUST not be changed.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "os_abstraction.h"
|
||||
#include "tcp.h"
|
||||
#include "packet.h"
|
||||
#include "game_info.h"
|
||||
#include "network_game_info.h"
|
||||
|
||||
/** Enum with all types of TCP TURN packets. The order MUST not be changed. **/
|
||||
enum PacketTurnType {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "../../stdafx.h"
|
||||
#include "../../timer/timer_game_calendar.h"
|
||||
#include "../../debug.h"
|
||||
#include "game_info.h"
|
||||
#include "network_game_info.h"
|
||||
#include "udp.h"
|
||||
|
||||
#include "../../safeguards.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "../strings_func.h"
|
||||
#include "../timer/timer_game_calendar.h"
|
||||
#include "../timer/timer_game_calendar.h"
|
||||
#include "core/game_info.h"
|
||||
#include "core/network_game_info.h"
|
||||
#include "network_admin.h"
|
||||
#include "network_base.h"
|
||||
#include "network_server.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define NETWORK_GAMELIST_H
|
||||
|
||||
#include "core/address.h"
|
||||
#include "core/game_info.h"
|
||||
#include "core/network_game_info.h"
|
||||
#include "network_type.h"
|
||||
|
||||
/** The status a server can be in. */
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
/** @file network_query.cpp Query part of the network protocol. */
|
||||
|
||||
#include "../stdafx.h"
|
||||
#include "core/game_info.h"
|
||||
#include "core/network_game_info.h"
|
||||
#include "network_query.h"
|
||||
#include "network_gamelist.h"
|
||||
#include "../error.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "../stdafx.h"
|
||||
#include "../strings_func.h"
|
||||
#include "core/game_info.h"
|
||||
#include "core/network_game_info.h"
|
||||
#include "network_admin.h"
|
||||
#include "network_server.h"
|
||||
#include "network_udp.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "../timer/timer_game_calendar.h"
|
||||
#include "../map_func.h"
|
||||
#include "../debug.h"
|
||||
#include "core/game_info.h"
|
||||
#include "core/network_game_info.h"
|
||||
#include "network_gamelist.h"
|
||||
#include "network_internal.h"
|
||||
#include "network_udp.h"
|
||||
|
|
Loading…
Reference in New Issue