mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
pch testing
This commit is contained in:
@@ -803,8 +803,12 @@ IF (UNIX)
|
||||
SET_SOURCE_FILES_PROPERTIES("patches/sod.cpp" "patches/sof.cpp" "patches/rof.cpp" "patches/rof2.cpp" "patches/uf.cpp" PROPERTIES COMPILE_FLAGS -O0)
|
||||
ENDIF (UNIX)
|
||||
|
||||
IF (WIN32 AND EQEMU_BUILD_PCH)
|
||||
TARGET_PRECOMPILE_HEADERS(common PRIVATE pch/pch.h)
|
||||
IF (EQEMU_BUILD_PCH)
|
||||
TARGET_PRECOMPILE_HEADERS(common PRIVATE pch/pch-emu-common.h)
|
||||
TARGET_PRECOMPILE_HEADERS(common PRIVATE pch/pch-containers.h)
|
||||
TARGET_PRECOMPILE_HEADERS(common PRIVATE pch/pch-utilities.h)
|
||||
TARGET_PRECOMPILE_HEADERS(common PRIVATE pch/pch-types.h)
|
||||
TARGET_PRECOMPILE_HEADERS(common PRIVATE pch/pch-fmt.h)
|
||||
ENDIF ()
|
||||
|
||||
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef EQEMU_CONTAINERS_PCH_H
|
||||
#define EQEMU_CONTAINERS_PCH_H
|
||||
|
||||
// containers
|
||||
#include <iterator>
|
||||
#include <set>
|
||||
#include <unordered_set>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,14 @@
|
||||
#ifndef EQEMU_EMU_COMMON_PCH_H
|
||||
#define EQEMU_EMU_COMMON_PCH_H
|
||||
|
||||
// emu
|
||||
#include "../../common/timer.h"
|
||||
#include "../../common/strings.h"
|
||||
#include "../../common/http/httplib.h"
|
||||
#include "../../common/base_packet.h"
|
||||
#include "../../common/database.h"
|
||||
#include "../../common/emu_constants.h"
|
||||
#include "../../common/servertalk.h"
|
||||
#include "../../common/global_define.h"
|
||||
#include "../../common/eqemu_logsys.h"
|
||||
#endif
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef EQEMU_FMT_PCH_H
|
||||
#define EQEMU_FMT_PCH_H
|
||||
|
||||
// fmt
|
||||
#include <fmt/format.h>
|
||||
#include <cereal/archives/json.hpp>
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef EQEMU_TYPES_PCH_H
|
||||
#define EQEMU_TYPES_PCH_H
|
||||
|
||||
// types
|
||||
#include <limits>
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
#include <sstream>
|
||||
#include <type_traits>
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifndef EQEMU_UTILITIES_PCH_H
|
||||
#define EQEMU_UTILITIES_PCH_H
|
||||
|
||||
// utilities
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
#include <tuple>
|
||||
#include <fstream>
|
||||
#include <cstdio>
|
||||
#include <stdio.h>
|
||||
#include <mutex>
|
||||
|
||||
#endif
|
||||
@@ -1,34 +0,0 @@
|
||||
// types
|
||||
#include <limits>
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
#include <sstream>
|
||||
|
||||
// containers
|
||||
#include <iterator>
|
||||
#include <set>
|
||||
#include <unordered_set>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
// utilities
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
#include <tuple>
|
||||
#include <fstream>
|
||||
#include <cstdio>
|
||||
|
||||
// fmt
|
||||
#include <fmt/format.h>
|
||||
|
||||
// lua
|
||||
#include "lua.hpp"
|
||||
#include <luabind/luabind.hpp>
|
||||
#include <luabind/object.hpp>
|
||||
Reference in New Issue
Block a user