Small utility library for MIDI functions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
438 B

  1. cmake_minimum_required(VERSION 3.24)
  2. project(midi_utils C)
  3. set(CMAKE_C_STANDARD 11)
  4. include_directories(.)
  5. add_library(
  6. midi_utils STATIC
  7. midi-utils.c
  8. midi-utils.h
  9. )
  10. add_executable(
  11. test-note-names
  12. test-note-names.c
  13. midi-utils.c
  14. midi-utils.h
  15. )
  16. add_custom_command(
  17. TARGET test-note-names POST_BUILD
  18. COMMAND ${CMAKE_COMMAND} -E copy
  19. "${CMAKE_HOME_DIRECTORY}/cases.txt"
  20. $<TARGET_FILE_DIR:test-note-names>
  21. )