Skip to content

Commit a7d79e4

Browse files
Update to JUCE 8.0.0
1 parent 7c73414 commit a7d79e4

8 files changed

+67
-20
lines changed

CMakeLists.txt

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -181,25 +181,21 @@ if (JUCE_PLUGINHOST_VST3 AND JUCE_CUSTOM_VST3_SDK)
181181
endif (DEFINED VST3_SDK_PATH)
182182
endif (JUCE_PLUGINHOST_VST3 AND JUCE_CUSTOM_VST3_SDK)
183183
if (JUCE_PLUGINHOST_LV2)
184-
if (DEFINED LV2_SDK_PATH)
185-
set (JUCE_LV2_INC_PATH ${LV2_SDK_PATH})
186-
else (DEFINED LV2_SDK_PATH)
187-
#LV2 SDK Path
188-
set (JUCE_LV2_INC_PATH
189-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK"
190-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/lv2"
191-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/lilv"
192-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/lilv/src"
193-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/serd"
194-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/sord"
195-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/sord/src"
196-
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/sratom"
197-
)
198-
endif (DEFINED LV2_SDK_PATH)
184+
#LV2 SDK Path
185+
set (JUCE_LV2_INC_PATH
186+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK"
187+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/lv2"
188+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/lilv"
189+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/lilv/src"
190+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/serd"
191+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/sord"
192+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/sord/src"
193+
"${JUCE_INC_PATH}/juce_audio_processors/format_types/LV2_SDK/sratom"
194+
)
199195

200196
#LV2 SDK Src
201197
set (JUCE_LV2_SRC_FIX
202-
"${JUCE_INC_PATH}/juce_audio_processors/juce_audio_processors_lv2_libs.cpp"
198+
"${JUCE_HEADER_PATH}/include_juce_audio_processors_lv2_libs.cpp"
203199
)
204200
endif (JUCE_PLUGINHOST_LV2)
205201
if (JUCE_PLUGINHOST_ARA)
@@ -211,7 +207,7 @@ if (JUCE_PLUGINHOST_ARA)
211207

212208
#ARA SDK Src
213209
set (JUCE_ARA_SRC_FIX
214-
"${JUCE_INC_PATH}/juce_audio_processors/juce_audio_processors_ara.cpp"
210+
"${JUCE_HEADER_PATH}/include_juce_audio_processors_ara.cpp"
215211
)
216212
endif (JUCE_PLUGINHOST_ARA)
217213

@@ -257,18 +253,21 @@ set (JUCE_AUDIO_SRC
257253
set (JUCE_CORE_SRC
258254
"${JUCE_HEADER_PATH}/JuceHeader.h"
259255
"${JUCE_HEADER_PATH}/include_juce_core.cpp"
256+
"${JUCE_HEADER_PATH}/include_juce_core_CompilationTime.cpp"
260257
"${JUCE_HEADER_PATH}/include_juce_cryptography.cpp"
261258
"${JUCE_HEADER_PATH}/include_juce_gui_basics.cpp"
262259
"${JUCE_HEADER_PATH}/include_juce_gui_extra.cpp"
263260
"${JUCE_HEADER_PATH}/include_juce_events.cpp"
264261
"${JUCE_HEADER_PATH}/include_juce_data_structures.cpp"
265262
"${JUCE_HEADER_PATH}/include_juce_graphics.cpp"
263+
"${JUCE_HEADER_PATH}/include_juce_graphics_Harfbuzz.cpp"
266264
"${JUCE_HEADER_PATH}/include_juce_osc.cpp"
267265
"${JUCE_HEADER_PATH}/include_juce_box2d.cpp"
268266
"${JUCE_HEADER_PATH}/include_juce_opengl.cpp"
269267
"${JUCE_HEADER_PATH}/include_juce_analytics.cpp"
270268
"${JUCE_HEADER_PATH}/include_juce_product_unlocking.cpp"
271269
"${JUCE_HEADER_PATH}/include_juce_video.cpp"
270+
"${JUCE_HEADER_PATH}/include_juce_animation.cpp"
272271
)
273272
set (JUCE_DSP_SRC
274273
"${JUCE_HEADER_PATH}/JuceHeader.h"
@@ -471,7 +470,7 @@ else (NOT MSVC)
471470
/GS#安全检查:启用安全检查
472471
/Zc:wchar_t#将WChar_t视为内置类型:是
473472
/Gm-#启用最小重新生成:否
474-
/sdl#SDL检查:
473+
/sdl-#SDL检查:
475474
/fp:precise#浮点模型:精度
476475
/Zc:forScope#强制For循环范围中的合规性:是
477476
/Gd#调用约定:__cdecl
@@ -495,7 +494,7 @@ else (NOT MSVC)
495494
/Gy#启用函数级链接:是
496495
/Zc:wchar_t#将WChar_t视为内置类型:是
497496
/Gm-#启用最小重新生成:否
498-
/sdl#SDL检查:
497+
/sdl-#SDL检查:
499498
/fp:precise#浮点模型:精度
500499
/Zc:forScope#强制For循环范围中的合规性:是
501500
/Gd#调用约定:__cdecl

JUCE

Submodule JUCE updated 2669 files

JuceLibraryCode/JuceHeader.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
#pragma once
1414

15+
1516
#include <juce_analytics/juce_analytics.h>
17+
#include <juce_animation/juce_animation.h>
1618
#include <juce_audio_basics/juce_audio_basics.h>
1719
#include <juce_audio_devices/juce_audio_devices.h>
1820
#include <juce_audio_formats/juce_audio_formats.h>
@@ -32,6 +34,7 @@
3234
#include <juce_product_unlocking/juce_product_unlocking.h>
3335
#include <juce_video/juce_video.h>
3436

37+
3538
#if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION
3639
/** If you've hit this error then the version of the Projucer that was used to generate this project is
3740
older than the version of the JUCE modules being included. To fix this error, re-save your project
@@ -41,6 +44,11 @@
4144
#error "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."
4245
#endif
4346

47+
#if ! DONT_SET_USING_JUCE_NAMESPACE
48+
// If your code uses a lot of JUCE classes, then this will obviously save you
49+
// a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE.
50+
using namespace juce;
51+
#endif
4452

4553
#if ! JUCE_DONT_DECLARE_PROJECTINFO
4654
namespace ProjectInfo
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
*/
7+
8+
#include <juce_animation/juce_animation.cpp>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
*/
7+
8+
#include <juce_audio_processors/juce_audio_processors_ara.cpp>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
*/
7+
8+
#include <juce_audio_processors/juce_audio_processors_lv2_libs.cpp>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
*/
7+
8+
#include <juce_core/juce_core_CompilationTime.cpp>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
*/
7+
8+
#include <juce_graphics/juce_graphics_Harfbuzz.cpp>

0 commit comments

Comments
 (0)