mirror of
https://github.com/Cxbx-Reloaded/Cxbx-Reloaded.git
synced 2024-05-31 19:18:05 -04:00
Slightly reduce build time (#2437)
This commit is contained in:
parent
e1ea10c4cb
commit
4808be65c4
|
@ -84,6 +84,4 @@ extern volatile bool g_bPrintfOn;
|
|||
#define CxbxSetThreadName(Name)
|
||||
#endif
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
#endif
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#define LOG_PREFIX CXBXR_MODULE::FILE
|
||||
#define LOG_PREFIX_INIT CXBXR_MODULE::INIT
|
||||
|
||||
#include <filesystem>
|
||||
#include "common/cxbxr.hpp"
|
||||
#include "Settings.hpp"
|
||||
#include "EmuShared.h"
|
||||
|
|
|
@ -31,6 +31,8 @@ extern std::string g_DataFilePath;
|
|||
extern std::string g_DiskBasePath;
|
||||
extern std::string g_MuBasePath;
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
//TODO: Possible move CxbxResolveHostToFullPath inline function someplace else if become useful elsewhere.
|
||||
// Let filesystem library clean it up for us, including resolve host's symbolic link path.
|
||||
// Since internal kernel do translate to full path than preserved host symoblic link path.
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
// ******************************************************************
|
||||
#ifndef SETTINGS_HPP
|
||||
#define SETTINGS_HPP
|
||||
#include "Cxbx.h"
|
||||
|
||||
#include "SimpleIni.h"
|
||||
#include "common\input\InputManager.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
// ******************************************************************
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "DInputKeyboardMouse.h"
|
||||
#include "InputManager.h"
|
||||
#include "core\kernel\support\Emu.h"
|
||||
#include <algorithm>
|
||||
|
||||
// Unfortunately, sdl doesn't seem to be able to capture keyboard/mouse input from windows it didn't create (we currently use
|
||||
// win32 for that). So unless we create sdl windows, we will have to keep dinput around to handle keyboard/mouse input.
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
// *
|
||||
// ******************************************************************
|
||||
|
||||
#include <algorithm>
|
||||
#include "Button.h"
|
||||
#include "InputManager.h"
|
||||
#include "layout_xbox_device.h"
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#define LOG_PREFIX CXBXR_MODULE::SDL
|
||||
|
||||
#include <assert.h>
|
||||
#include <algorithm>
|
||||
#include <thread>
|
||||
#include "core\kernel\support\Emu.h"
|
||||
#include "SdlJoystick.h"
|
||||
|
|
|
@ -26,12 +26,14 @@
|
|||
#ifndef CXBXUTIL_H
|
||||
#define CXBXUTIL_H
|
||||
|
||||
#include <stdexcept>
|
||||
#include "xbox_types.h"
|
||||
#include "Cxbx.h"
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
#include "std_extend.hpp" // for ARRAY_SIZE
|
||||
|
||||
/* This is a linux struct for vectored I/O. See readv() and writev() */
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#include <assert.h> // assert()
|
||||
#include <process.h>
|
||||
#include <locale.h>
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
#include <cmath>
|
||||
#include <iomanip> // For std::setfill and std::setw
|
||||
#include <filesystem>
|
||||
|
||||
#include "core\kernel\init\CxbxKrnl.h"
|
||||
#include "core\kernel\support\Emu.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
|
||||
#include <core\kernel\exports\xboxkrnl.h>
|
||||
#include <filesystem>
|
||||
#include "core\kernel\init\CxbxKrnl.h"
|
||||
#include <vector>
|
||||
#include <cstdio>
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
#include <io.h>
|
||||
#include <shlobj.h>
|
||||
|
||||
#include <filesystem>
|
||||
#include <sstream> // for std::stringstream
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
|
Loading…
Reference in a new issue