forked from Soreepeong/XivAlexander
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpch.h
83 lines (70 loc) · 2.22 KB
/
pch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// pch.h: This is a precompiled header file.
// Files listed below are compiled only once, improving build performance for future builds.
// This also affects IntelliSense performance, including code completion and many code browsing features.
// However, files listed here are ALL re-compiled if any one of them is updated between builds.
// Do not add files here that you will be updating frequently as this negates the performance advantage.
// ReSharper disable CppClangTidyClangDiagnosticReservedIdMacro
// ReSharper disable CppClangTidyBugproneReservedIdentifier
#pragma once
#ifndef PCH_H
#define PCH_H
#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
#include <algorithm>
#include <chrono>
#include <codecvt>
#include <cwctype>
#include <format>
#include <functional>
#include <map>
#include <numeric>
#include <ranges>
#include <set>
#include <stdexcept>
#include <string>
#include <vector>
// Windows API, part 1
#define NOMINMAX
#define _WINSOCKAPI_ // Prevent <winsock.h> from being included
#include <Windows.h>
// Windows API, part 2
#include <PathCch.h>
#include <Psapi.h>
#include <shellapi.h>
#include <shlobj_core.h>
#include <Shlwapi.h>
#include <TlHelp32.h>
#include <wincrypt.h>
#include <windowsx.h>
#include <WinTrust.h>
#include <WS2tcpip.h>
// COM APIs
#include <comdef.h>
#include <dwrite_3.h>
#pragma warning(push)
#pragma warning(disable: 26439) // This kind of function may not throw. Declare it 'noexcept' (f.6).
#pragma warning(disable: 26495) // Variable is uninitialized. Always initialize a member variable (type.6).
#pragma warning(disable: 26819) // Unannotated fallthrough between switch labels (es.78).
#define ZLIB_CONST
#include <zlib.h>
#include <cryptopp/base64.h>
#include <cryptopp/blowfish.h>
#include <cryptopp/modes.h>
#include <cryptopp/sha.h>
#include <curlpp/cURLpp.hpp>
#include <curlpp/Easy.hpp>
#include <curlpp/Options.hpp>
#include <freetype/freetype.h>
#include <nlohmann/json.hpp>
#include <srell.hpp>
#include <vorbis/codec.h>
#include <vorbis/vorbisenc.h>
// FreeType
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_BITMAP_H
#include FT_GLYPH_H
#include FT_OUTLINE_H
#pragma warning(pop)
#include "span_cast.h"
#include "XivAlexanderCommon/Utils/StringUtils.h"
#endif //PCH_H