Huge compile performance refactor

This commit is contained in:
Jack Andersen 2017-12-28 22:06:54 -10:00
parent 4fa62609eb
commit 03b9b74ee0
5 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ namespace std
{ {
template <> struct hash<specter::FontTag> template <> struct hash<specter::FontTag>
{ {
size_t operator() (const specter::FontTag& handle) const NOEXCEPT size_t operator() (const specter::FontTag& handle) const noexcept
{return size_t(handle.hash());} {return size_t(handle.hash());}
}; };
} }

View File

@ -11,7 +11,7 @@
#include "IMenuNode.hpp" #include "IMenuNode.hpp"
#include "IViewManager.hpp" #include "IViewManager.hpp"
#include "optional.hpp" #include "optional.hpp"
#include <boo/boo.hpp> #include "boo/boo.hpp"
namespace specter namespace specter
{ {

View File

@ -5,7 +5,7 @@
#include "specter/FontCache.hpp" #include "specter/FontCache.hpp"
#include "logvisor/logvisor.hpp" #include "logvisor/logvisor.hpp"
#include <athena/MemoryReader.hpp> #include <athena/MemoryReader.hpp>
#include <stdint.h> #include <cstdint>
#include <zlib.h> #include <zlib.h>
#include FT_GZIP_H #include FT_GZIP_H

View File

@ -1,4 +1,4 @@
bintoc(droidsans-permissive.c droidsans-permissive.ttf.gz DROIDSANS_PERMISSIVE) bintoc(droidsans-permissive.cpp droidsans-permissive.ttf.gz DROIDSANS_PERMISSIVE)
bintoc(bmonofont-i18n.c bmonofont-i18n.ttf.gz BMONOFONT) bintoc(bmonofont-i18n.cpp bmonofont-i18n.ttf.gz BMONOFONT)
bintoc(SpecterCurveGlyphs.c SpecterCurveGlyphs.ttf.gz SPECTERCURVES) bintoc(SpecterCurveGlyphs.cpp SpecterCurveGlyphs.ttf.gz SPECTERCURVES)
add_library(specter-fonts droidsans-permissive.c bmonofont-i18n.c SpecterCurveGlyphs.c) add_library(specter-fonts droidsans-permissive.cpp bmonofont-i18n.cpp SpecterCurveGlyphs.cpp)

@ -1 +1 @@
Subproject commit bf25b17ea9cf8e678e44d481c546b3e54465fc15 Subproject commit 10d389ffda5d8b74882f34bcbc91ca0256ecda4d