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