Commit e0f79f32 authored by Rafael Kitover's avatar Rafael Kitover
Browse files

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.
parent 82d0b04a
...@@ -445,7 +445,6 @@ if(MSVC) ...@@ -445,7 +445,6 @@ if(MSVC)
endif(MSVC) endif(MSVC)
SET(HDR_MAIN SET(HDR_MAIN
src/AutoBuild.h
src/System.h src/System.h
src/Util.h src/Util.h
src/common/array.h src/common/array.h
......
...@@ -16,9 +16,6 @@ extern "C" { ...@@ -16,9 +16,6 @@ extern "C" {
#include <sys/stat.h> #include <sys/stat.h>
#include <cmath> #include <cmath>
#include "../AutoBuild.h"
#include "version.h"
#include "../common/Patch.h" #include "../common/Patch.h"
#include "../common/ConfigManager.h" #include "../common/ConfigManager.h"
#include "../gba/GBA.h" #include "../gba/GBA.h"
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include <time.h> #include <time.h>
#include "../AutoBuild.h"
#include "version.h" #include "version.h"
#include "SDL.h" #include "SDL.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment