remove version.h in ConfigManager and AutoBuild.h

ConfigManager does not use any version info, but is part of libvbamcore,
so removing the `#include` makes rebuilds after git changes much much
faster.

Remove the AutoBuild.h includes from ConfigManager.cpp and SDL.cpp (the
SDL port) because the information in that file does not seem to be used
and it also includes version.h, forcing those files to rebuild
unnecessarily.
This commit is contained in:
Rafael Kitover 2017-08-27 13:32:13 -07:00
parent 82d0b04a01
commit e0f79f32a5
3 changed files with 0 additions and 5 deletions

View File

@ -445,7 +445,6 @@ if(MSVC)
endif(MSVC)
SET(HDR_MAIN
src/AutoBuild.h
src/System.h
src/Util.h
src/common/array.h

View File

@ -16,9 +16,6 @@ extern "C" {
#include <sys/stat.h>
#include <cmath>
#include "../AutoBuild.h"
#include "version.h"
#include "../common/Patch.h"
#include "../common/ConfigManager.h"
#include "../gba/GBA.h"

View File

@ -41,7 +41,6 @@
#include <time.h>
#include "../AutoBuild.h"
#include "version.h"
#include "SDL.h"