Skip to content

Commit 075ff2d

Browse files
committed
Remove minimum c++ in yup module declarations
1 parent 53e588f commit 075ff2d

File tree

9 files changed

+12
-14
lines changed

9 files changed

+12
-14
lines changed

docs/YUP Module Format.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ The names of these source files must begin with the name of the module, but they
4545

4646
In order to specify that a source file should only be compiled for a specific platform, then the filename can be suffixed with one of the following (case insensitive) strings:
4747

48-
_apple <- compiled for Apple platforms only
49-
_mac or _osx <- compiled for macOS only
48+
_apple <- compiled for Apple platforms
49+
_mac <- compiled for macOS only
5050
_ios <- compiled for iOS only
5151
_msft <- compiled for Microsoft platforms only
52-
_win32 <- compiled for Windows Win32 Desktop only
5352
_uwp <- compiled for Universal Windows Platform only
54-
_windows <- compiled for Windows platforms only
53+
_windows <- compiled for Windows desktop only (MSVC)
54+
_mingw <- compiled for Windows desktop only (MinGW)
5555
_linux <- compiled for Linux and FreeBSD only
5656
_android <- compiled for Android only
5757
_posix <- compiled for Posix platforms only
@@ -62,7 +62,7 @@ e.g.
6262
yup_mymodule/yup_mymodule_1.cpp <- compiled for all platforms
6363
yup_mymodule/yup_mymodule_2.cpp <- compiled for all platforms
6464
yup_mymodule/yup_mymodule_mac.cpp <- compiled for macOS platforms only
65-
yup_mymodule/yup_mymodule_win32.cpp <- compiled for Windows platforms only
65+
yup_mymodule/yup_mymodule_windows.cpp <- compiled for Windows platforms only
6666

6767
Often this isn't necessary, as in most cases you can easily add checks inside the files to do different things depending on the platform, but this may be handy just to avoid clutter in user projects where files aren't needed.
6868

@@ -130,14 +130,17 @@ Possible values:
130130
- (Optional) A description of the type of software license that applies.
131131

132132
- minimumCppStandard
133-
- (Optional) A number indicating the minimum C++ language standard that is required for this module This must be just the standard number with no prefix e.g. 20 for C++20.
133+
- (Optional) A number indicating the minimum C++ language standard that is required for this module. This must be just the standard number with no prefix e.g. 20 for C++20.
134134

135135
- defines
136136
- (Optional) A list (space or comma-separated) of macro defines needed by this module.
137137

138138
- searchpaths
139139
- (Optional) A space-separated list of internal include paths, relative to the module's parent folder, which need to be added to a project's header search path.
140140

141+
- [android|apple|ios|linux|mingw|mobile|msft|osx|wasm|win32|windows]CppStandard
142+
- (Optional) A number indicating the minimum C++ language standard that is required for this module and this platform exclusively. This must be just the standard number with no prefix e.g. 20 for C++20.
143+
141144
- [android|apple|ios|linux|mingw|mobile|msft|osx|wasm|win32|windows]Deps
142145
- (Optional) A list (space or comma-separated) of other modules that are required by this one.
143146

@@ -150,6 +153,9 @@ Possible values:
150153
- [android|apple|ios|linux|mingw|mobile|msft|osx|wasm|win32|windows]Options
151154
- (Optional) A list (space or comma-separated) of compile options needed by this module in a build.
152155

156+
- [android|apple|ios|linux|mingw|mobile|msft|osx|wasm|win32|windows]LinkOptions
157+
- (Optional) A list (space or comma-separated) of link options needed by this module in a build.
158+
153159
- [android|apple|ios|linux|mingw|mobile|msft|osx|wasm|win32|windows]Searchpaths
154160
- (Optional) A space-separated list of internal include paths, relative to the module's parent folder, which need to be added to a project's header search path.
155161

modules/yup_audio_basics/yup_audio_basics.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
description: Classes for audio buffer manipulation, midi message handling, synthesis, etc.
5050
website: https://github.com/kunitoki/yup
5151
license: ISC
52-
minimumCppStandard: 17
5352
5453
dependencies: yup_core
5554
appleFrameworks: Accelerate

modules/yup_audio_devices/yup_audio_devices.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
description: Classes to play and record from audio and MIDI I/O devices
5050
website: https://github.com/kunitoki/yup
5151
license: ISC
52-
minimumCppStandard: 17
5352
5453
dependencies: yup_audio_basics yup_events
5554
appleFrameworks: CoreAudio CoreMIDI AudioToolbox

modules/yup_audio_plugin_client/yup_audio_plugin_client.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
description: The essential set of basic YUP audio plugin clients.
3232
website: https://github.com/kunitoki/yup
3333
license: ISC
34-
minimumCppStandard: 17
3534
3635
dependencies: yup_audio_processors yup_gui
3736
enableARC: 1

modules/yup_audio_processors/yup_audio_processors.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
description: The essential set of basic YUP audio processing classes.
3232
website: https://github.com/kunitoki/yup
3333
license: ISC
34-
minimumCppStandard: 17
3534
3635
dependencies: yup_audio_basics yup_gui
3736
enableARC: 1

modules/yup_core/yup_core.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
description: The essential set of basic YUP classes, as required by all the other YUP modules.
5050
website: https://github.com/kunitoki/yup
5151
license: ISC
52-
minimumCppStandard: 17
5352
5453
dependencies: zlib
5554
osxFrameworks: Cocoa Foundation IOKit Security

modules/yup_events/yup_events.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
description: Classes for running an application's main event loop and sending/receiving messages, timers, etc.
5050
website: https://github.com/kunitoki/yup
5151
license: ISC
52-
minimumCppStandard: 17
5352
5453
dependencies: yup_core
5554

modules/yup_graphics/yup_graphics.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
description: The essential set of basic YUP graphics classes.
3232
website: https://github.com/kunitoki/yup
3333
license: ISC
34-
minimumCppStandard: 17
3534
3635
dependencies: yup_core rive rive_renderer
3736
appleFrameworks: Metal

modules/yup_gui/yup_gui.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
description: The essential set of basic YUP user interface.
3232
website: https://github.com/kunitoki/yup
3333
license: ISC
34-
minimumCppStandard: 17
3534
3635
dependencies: yup_events yup_graphics rive
3736
appleFrameworks: Metal

0 commit comments

Comments
 (0)