premake5: Use precompiled headers.
This easily doubles the compilation speed!!1
This commit is contained in:
parent
e18035bbb1
commit
f753acbe74
@ -72,12 +72,15 @@ workspace "iw4x"
|
||||
kind "SharedLib"
|
||||
language "C++"
|
||||
files { "./src/**.hpp", "./src/**.cpp" }
|
||||
includedirs { "%{prj.location}" }
|
||||
includedirs { "%{prj.location}", "./src" }
|
||||
architecture "x32"
|
||||
configmap {
|
||||
["Normal"] = "Debug"
|
||||
}
|
||||
|
||||
-- Pre-compiled header
|
||||
pchheader "STDInclude.hpp" -- must be exactly same as used in #include directives
|
||||
pchsource "src/STDInclude.cpp" -- real path
|
||||
|
||||
-- Virtual paths
|
||||
if not _OPTIONS["no-new-structure"] then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Game
|
||||
{
|
||||
|
1
src/STDInclude.cpp
Normal file
1
src/STDInclude.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "STDInclude.hpp"
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
using namespace Components;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Steam
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Steam
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Steam
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Steam
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Steam
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Steam
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Steam
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
#include "Steam.hpp"
|
||||
|
||||
namespace Steam
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Utils
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
#define VA_BUFFER_COUNT 4
|
||||
#define VA_BUFFER_SIZE 65536
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "STDInclude.hpp"
|
||||
|
||||
namespace Utils
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user