mirror of https://github.com/AxioDL/amuse.git
Huge compile performance refactor
This commit is contained in:
parent
e37128d657
commit
985994a291
|
@ -90,6 +90,9 @@ add_library(amuse
|
|||
if(COMMAND add_sanitizers)
|
||||
add_sanitizers(amuse)
|
||||
endif()
|
||||
if(COMMAND cotire)
|
||||
cotire(amuse)
|
||||
endif()
|
||||
|
||||
if(TARGET boo AND NOT WINDOWS_STORE)
|
||||
# AudioUnit Target (OS X only)
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#include "athena/FileReader.hpp"
|
||||
#include "athena/DNAYaml.hpp"
|
||||
#include "logvisor/logvisor.hpp"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
static logvisor::Module Log("amuseconv");
|
||||
|
||||
|
|
|
@ -5,15 +5,15 @@
|
|||
#include "boo/audiodev/IAudioVoiceEngine.hpp"
|
||||
#include "logvisor/logvisor.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <signal.h>
|
||||
#include <thread>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
#include <stdarg.h>
|
||||
#include <cstdarg>
|
||||
|
||||
static logvisor::Module Log("amuserender");
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __AMUSE_AUDIOGROUPPOOL_HPP__
|
||||
#define __AMUSE_AUDIOGROUPPOOL_HPP__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include <cmath>
|
||||
#include <unordered_map>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define __AMUSE_AUDIOGROUPSAMPLEDIR_HPP__
|
||||
|
||||
#include <unordered_map>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include "Common.hpp"
|
||||
|
||||
namespace amuse
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
#include <cstdarg>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <cstring>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef __AMUSE_EFFECTBASE_HPP__
|
||||
#define __AMUSE_EFFECTBASE_HPP__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
namespace amuse
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "EffectBase.hpp"
|
||||
#include "Common.hpp"
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace amuse
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "EffectBase.hpp"
|
||||
#include "IBackendVoice.hpp"
|
||||
#include "Common.hpp"
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
namespace amuse
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#ifndef __AMUSE_ENTITY_HPP__
|
||||
#define __AMUSE_ENTITY_HPP__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
namespace amuse
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define __AMUSE_SONGCONVERTER_HPP__
|
||||
|
||||
#include <vector>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace amuse
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __AMUSE_SONGSTATE_HPP__
|
||||
#define __AMUSE_SONGSTATE_HPP__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <list>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __AMUSE_SOUNDMACROSTATE_HPP__
|
||||
#define __AMUSE_SOUNDMACROSTATE_HPP__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include "Entity.hpp"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef __AMUSE_VOICE_HPP__
|
||||
#define __AMUSE_VOICE_HPP__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <memory>
|
||||
#include <list>
|
||||
#include "SoundMacroState.hpp"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "amuse/AudioGroupSampleDirectory.hpp"
|
||||
#include "amuse/Common.hpp"
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
namespace amuse
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "amuse/ContainerRegistry.hpp"
|
||||
#include "amuse/Common.hpp"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#else
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "amuse/EffectChorus.hpp"
|
||||
#include "amuse/Common.hpp"
|
||||
#include "amuse/IBackendVoice.hpp"
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
#include <cmath>
|
||||
|
||||
namespace amuse
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "amuse/EffectDelay.hpp"
|
||||
#include "amuse/Common.hpp"
|
||||
#include "amuse/IBackendVoice.hpp"
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
#include <cmath>
|
||||
|
||||
namespace amuse
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "amuse/EffectReverb.hpp"
|
||||
#include "amuse/IBackendVoice.hpp"
|
||||
#include <cmath>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
namespace amuse
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "amuse/SongConverter.hpp"
|
||||
#include "amuse/SongState.hpp"
|
||||
#include "amuse/Common.hpp"
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <map>
|
||||
|
||||
namespace amuse
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "amuse/Common.hpp"
|
||||
#include "amuse/AudioGroup.hpp"
|
||||
#include "amuse/AudioGroupPool.hpp"
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
/* Squelch Win32 macro pollution >.< */
|
||||
#undef SendMessage
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "amuse/DSPCodec.h"
|
||||
#include "amuse/N64MusyXCodec.h"
|
||||
#include <cmath>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
namespace amuse
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue