Improve devendoring & other CMake stuff (#21)

* Improve devendoring

* Add warning flags for own C++ code

For https://github.com/tildearrow/furnace/pull/12#issuecomment-1017330467.

* Document new CMake options

* pkg-config stuff

* Warnings stuff for MSVC yay

* Use more specific linking vars & functions

* Fix Linux icon location

* DEPENDENCIES_LEGACY_LDFLAGS for JACK too
This commit is contained in:
Christoph Neidahl 2022-02-01 21:50:25 +01:00 committed by GitHub
parent 320bebb4be
commit c83e146d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 231 additions and 76 deletions

View file

@ -1,9 +1,5 @@
#include "taAudio.h"
#if (defined(_WIN32) || defined(HAVE_GUI)) && !defined(DEVENDOR_LIBRARIES)
#include <SDL.h>
#else
#include <SDL2/SDL.h>
#endif
class TAAudioSDL: public TAAudio {
SDL_AudioSpec ac, ar;