Precompiled header

This commit is contained in:
Light3039 2021-05-26 16:28:37 +04:30
parent 5b0ffe1365
commit cb44bd35e7
7 changed files with 53 additions and 0 deletions

View file

@ -11,6 +11,9 @@ project "Engine"
language "C++"
cppdialect "C++17"
pchsource "src/Engine/ltpch.cpp"
pchheader "ltpch.h"
-- Project Files ---
files
{

View file

@ -1,3 +1,4 @@
#include "ltpch.h"
#include "Application.h"
#include "Logger.h"

View file

@ -1,3 +1,4 @@
#include "ltpch.h"
#include "Logger.h"
#include <spdlog/sinks/stdout_color_sinks.h>

View file

@ -1,3 +1,4 @@
#include "ltpch.h"
#include "LayerStack.h"
#include <functional>

View file

@ -1,3 +1,4 @@
#include "ltpch.h"
#include "wWindow.h"
#include "Events/KeyboardEvents.h"

View file

@ -0,0 +1 @@
#include "ltpch.h"

45
Engine/src/Engine/ltpch.h Normal file
View file

@ -0,0 +1,45 @@
#pragma once
// Engine
#include "Base.h"
// Platform
#ifdef _WIN32
#define NOMINMAX
#include <Windows.h>
#undef NOMINMAX
#endif
// Containers
#include <array>
#include <vector>
#include <list>
#include <set>
#include <bitset>
#include <map>
#include <unordered_map>
#include <unordered_set>
// Miscellaneous
#include <algorithm>
#include <functional>
#include <memory>
#include <tuple>
#include <utility>
// IO
#include <iostream>
#include <fstream>
#include <sstream>
// Multi-threading
#include <thread>
#include <atomic>
// String
#include <string>
#include <string_view>
// C-Libraries
#include <time.h>
#include <math.h>