mirror of
https://github.com/mangosfour/server.git
synced 2025-12-31 13:37:07 +00:00
[7744] Use Precompiled Headers for fast build in win.
Work in "Visual Studio 8 2005" and "Visual Studio 9 2008". For Compile without precompiled headers use Debug_NoPCH configuration. Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
parent
434cbc2150
commit
8d3585f5ee
30 changed files with 4441 additions and 252 deletions
|
|
@ -297,4 +297,7 @@ libmangosgame_a_SOURCES = \
|
|||
libmangosgame_a_LIBADD = ../shared/libmangosshared.a ../shared/Auth/libmangosauth.a ../shared/Config/libmangosconfig.a ../shared/Database/libmangosdatabase.a ../shared/vmap/libmangosvmaps.a
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
# Nothing yet.
|
||||
# Precompiled Headers for WIN
|
||||
EXTRA_DIST = \
|
||||
pchdef.cpp \
|
||||
pchdef.h
|
||||
1
src/game/pchdef.cpp
Normal file
1
src/game/pchdef.cpp
Normal file
|
|
@ -0,0 +1 @@
|
|||
//#include "pchdef.h"
|
||||
16
src/game/pchdef.h
Normal file
16
src/game/pchdef.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//add here most rarely modified headers to speed up debug build compilation
|
||||
#include "WorldSocket.h" // must be first to make ACE happy with ACE includes in it
|
||||
#include "Common.h"
|
||||
|
||||
#include "MapManager.h"
|
||||
#include "Log.h"
|
||||
#include "ObjectAccessor.h"
|
||||
#include "ObjectDefines.h"
|
||||
#include "Database/SQLStorage.h"
|
||||
#include "Opcodes.h"
|
||||
#include "SharedDefines.h"
|
||||
|
||||
#ifdef FASTBUILD
|
||||
//add additional headers here to speed up compilation in release builds even more
|
||||
#include "ObjectMgr.h"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue