Make it clear which files are fully custom vs overridden
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
6b9bcdeaeb
commit
af637290fa
|
@ -26,8 +26,8 @@ Being GPLv2+ the code license is compatible with Cardinal's GPLv3+.
|
||||||
## deps
|
## deps
|
||||||
|
|
||||||
3rd-party libraries build setup.
|
3rd-party libraries build setup.
|
||||||
No actual code is hosted here, only a Makefile with steps for fetching source code and build it.
|
No Cardinal specific code is hosted here, only external submodules and a Makefile with steps for fetching extra source code and build it.
|
||||||
It basically overrides Rack's `dep.mk` things for a proper static build, and supporting more platforms.
|
The Makefile overrides Rack's `dep.mk` things for a proper static build, and supporting more platforms.
|
||||||
|
|
||||||
## doc
|
## doc
|
||||||
|
|
||||||
|
@ -81,11 +81,15 @@ The source code is the same for all the variants, with compiler macros used to t
|
||||||
A few extra files for having access to a few utilities, code borrowed from Carla, which in turn borrowed it from JUCE.
|
A few extra files for having access to a few utilities, code borrowed from Carla, which in turn borrowed it from JUCE.
|
||||||
The important one is `SharedResourcePointer`, as a way to easily manage a shared class lifecycle.
|
The important one is `SharedResourcePointer`, as a way to easily manage a shared class lifecycle.
|
||||||
|
|
||||||
|
### custom
|
||||||
|
|
||||||
|
Here are files that are originally from Rack but fully reimplemented in Cardinal.
|
||||||
|
Some of them are just stubs to define function symbols but without an actual implementation, for example disabling network features.
|
||||||
|
|
||||||
### override
|
### override
|
||||||
|
|
||||||
Here are files that need to be customized by Cardinal, where it is not possible or wanted to use the originals from Rack.
|
Here are files that are very close to the original from Rack but required tweaks for Cardinal.
|
||||||
This can be for disabling certain features, or simply tweaking engine/UI behaviour.
|
Extra care is needed to ensure these are kept in sync with the originals.
|
||||||
The filenames should be self-explanatory in what they override from Rack.
|
|
||||||
|
|
||||||
### Rack
|
### Rack
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
../override/RemoteNanoVG.cpp
|
../custom/RemoteNanoVG.cpp
|
|
@ -1 +1 @@
|
||||||
../override/RemoteWindow.cpp
|
../custom/RemoteWindow.cpp
|
|
@ -1 +1 @@
|
||||||
../override/RemoteNanoVG.cpp
|
../custom/RemoteNanoVG.cpp
|
|
@ -1 +1 @@
|
||||||
../override/RemoteWindow.cpp
|
../custom/RemoteWindow.cpp
|
|
@ -1 +1 @@
|
||||||
../override/RemoteNanoVG.cpp
|
../custom/RemoteNanoVG.cpp
|
|
@ -1 +1 @@
|
||||||
../override/RemoteWindow.cpp
|
../custom/RemoteWindow.cpp
|
12
src/Makefile
12
src/Makefile
|
@ -95,17 +95,17 @@ BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal
|
||||||
|
|
||||||
RACK_FILES += AsyncDialog.cpp
|
RACK_FILES += AsyncDialog.cpp
|
||||||
RACK_FILES += CardinalModuleWidget.cpp
|
RACK_FILES += CardinalModuleWidget.cpp
|
||||||
|
RACK_FILES += custom/asset.cpp
|
||||||
|
RACK_FILES += custom/dep.cpp
|
||||||
|
RACK_FILES += custom/library.cpp
|
||||||
|
RACK_FILES += custom/network.cpp
|
||||||
|
RACK_FILES += custom/osdialog.cpp
|
||||||
RACK_FILES += override/blendish.c
|
RACK_FILES += override/blendish.c
|
||||||
|
RACK_FILES += override/context.cpp
|
||||||
RACK_FILES += override/Engine.cpp
|
RACK_FILES += override/Engine.cpp
|
||||||
RACK_FILES += override/MenuBar.cpp
|
RACK_FILES += override/MenuBar.cpp
|
||||||
RACK_FILES += override/MIDI_CV.cpp
|
RACK_FILES += override/MIDI_CV.cpp
|
||||||
RACK_FILES += override/Scene.cpp
|
RACK_FILES += override/Scene.cpp
|
||||||
RACK_FILES += override/asset.cpp
|
|
||||||
RACK_FILES += override/context.cpp
|
|
||||||
RACK_FILES += override/dep.cpp
|
|
||||||
RACK_FILES += override/library.cpp
|
|
||||||
RACK_FILES += override/network.cpp
|
|
||||||
RACK_FILES += override/osdialog.cpp
|
|
||||||
|
|
||||||
RACK_FILES += Rack/dep/pffft/pffft.c
|
RACK_FILES += Rack/dep/pffft/pffft.c
|
||||||
RACK_FILES += Rack/dep/pffft/fftpack.c
|
RACK_FILES += Rack/dep/pffft/fftpack.c
|
||||||
|
|
Loading…
Reference in New Issue