airwindows/plugins/AirwindowsLinuxVSTTemplate.txt
2018-02-12 19:08:23 -05:00

69 lines
2.4 KiB
Text
Executable file
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# from LinuxVST/README.md
This repository contains a CMake project that builds Airwindows plugins for
Linux. Thanks to the Patreon supporters, Chris now publishes some of his plugins
under the MIT license on his GitHub, thus making this possible. Please, consider
supporting him. More info:
1. <https://patreon.com/airwindows>
2. <https://github.com/airwindows/airwindows>
3. <http://airwindows.com>
This CMake project is created by Eugene Cherny, whose work with CMake and scripting
allowed for every Airwindows plugin to be conveniently ported to LinuxVST, and
allowed for Linux as a platform to be targeted from now on. Thank you, ech2!
1. <https://github.com/ech2>
2. <http://oscii.ru>
[[Download build](https://github.com/ech2/airwindows-ports/releases)]
## Building
Install CMake from your package manager:
- Debian / Ubuntu: `apt install cmake`
- Fedora / CentOS: `dnf install cmake`
- Arch / Manjaro: `pacman -S cmake`
To build the plugins you would need to grab the VST SDK and copy it to the
`include/vstsdk` directory. You need to do it yourself, because the Steinbergs
license doesnt allow to distribute their SDK with licenses other than GPL. You
can get it from the following page:
<https://www.steinberg.net/en/company/developers.html>. The structure of the
`include/vsdsdk` directory should be as follows:
```
include/vstsdk/
├── pluginterfaces
│   └── vst2.x
│   ├── aeffect.h
│   ├── aeffectx.h
│   └── vstfxstore.h
├── aeffeditor.h
├── audioeffect.cpp
├── audioeffect.h
├── audioeffectx.cpp
├── audioeffectx.h
├── CMakeLists.txt
└── vstplugmain.cpp
```
Then, navigate to the `build` directory and run `cmake .. && make`. A number of
`.so` files should appear — these are your plugins. Copy them wherever you
would like or wherever your DAW can find them.
## Adding new plugins
1. Create a new directory `PluginName` in the `src` dir.
2. Copy the plugins `.cpp` and `.h` files to it.
3. Add line `add_airwindows_plugin(PluginName)` to the root `CMakeLists.txt`.
This will create a new target `PluginName` with all the sources copied, as
well as include VST-related files.
4. Build the project.
## Whats needed
- [X] Check the VS / Xcode projects for some extra compilation flags and add it
to this project.
- [ ] Try to make this build cross-platform and generate Xcode and VS projects.
- [ ] Automatic builds for different platforms.