yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze_pch.h
Go to the documentation of this file.
1// This is a precompiled header for the yaze project.
2// It includes a set of common, relatively stable headers that are used across
3// multiple source files to speed up compilation.
4//
5// Note: Project headers are not included here to avoid dependency issues.
6// Each source file should include what it needs directly; the PCH only saves
7// parse time and must not be relied on to provide declarations.
8
9#ifndef YAZE_PCH_H
10#define YAZE_PCH_H
11
12// Standard Library
13#include <array>
14#include <cstdint>
15#include <iostream>
16#include <memory>
17#include <set>
18#include <string>
19#include <string_view>
20#include <vector>
21
22// Most yaze sources include these; absl/status/status.h alone (via absl::Cord)
23// is a large share of a typical translation unit's parse time. Guarded so a
24// target without Abseil on its include path still builds.
25#if __has_include("absl/status/status.h")
26#include "absl/status/status.h"
27#include "absl/status/statusor.h"
28#include "absl/strings/str_format.h"
29#endif
30
31#ifdef __OBJC__
32#import <Foundation/Foundation.h>
33#endif
34
35#endif // YAZE_PCH_H