GZDoom's music system as a standalone library
Find a file
Braden Obrzut b3c4b55dab Overhaul CMakeLists to conform with modern CMake
- Prefer target properties instead of setting variables whenever possible.
  A zmusic-obj target now exists to represent the commonality between zmusic
  and zmusiclite.
- Factored out as much as possible from global settings to per target settings
  which will make it easier to support using ZMusic as a submodule. Moved
  helper functions into a ZUtility.cmake module.
- We now generate and install ZMusicConfig.cmake so find_package(ZMusic)
  will work either automatically or given ZMusic_DIR is set.
- CPack is enabled although some refinement is still needed.
- Requires CMake >= 3.13 which is newer than I would normally like, but given
  how no one like to refactor these things it may be better to deal with the
  short term pain of going a little aggressive on the requirement in order to
  avoid having to make things ugly. Especially given that these scripts have
  a tendency to be copy/pasted into sister projects. CMake itself has very few
  dependencies so users of old Linux distros should be able to easily compile
  a supported version of CMake.
- On Windows CMake >= 3.15 is required for redistributable results.
- Cleaned out bits that were copied from GZDoom but not relevant to ZMusic.
2021-02-16 01:38:10 -05:00
.github/workflows - fixed Win32 CI build by forcing internal ZLib 2020-07-03 11:14:41 +03:00
cmake Overhaul CMakeLists to conform with modern CMake 2021-02-16 01:38:10 -05:00
include Add MIDS music format playback support 2020-09-14 00:58:12 +06:00
licenses - added license overview. 2020-02-08 11:30:24 +01:00
samples/list_midi_devices Overhaul CMakeLists to conform with modern CMake 2021-02-16 01:38:10 -05:00
source Overhaul CMakeLists to conform with modern CMake 2021-02-16 01:38:10 -05:00
thirdparty Overhaul CMakeLists to conform with modern CMake 2021-02-16 01:38:10 -05:00
.gitignore Ignore *.user* files, generated by Qt Creator IDE 2020-10-04 08:03:44 +02:00
CMakeLists.txt Overhaul CMakeLists to conform with modern CMake 2021-02-16 01:38:10 -05:00
README.md Create README.md 2021-01-02 06:47:39 -05:00

ZMusic

GZDoom's music system as a standalone library

Welcome! This repository is a library for use with the projects GZDoom, Raze, and the newer PrBoom+.

Compile instructions are pretty simple for most systems.

git clone https://github.com/coelckers/ZMusic.git
mkdir ZMusic/build
cd ZMusic/build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake . --build

On Unix/Linux you may also supply sudo make install in the build folder to push the compiled library directly into the file system so that it can be found by the previously mentioned projects.