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.

21 lines
377 B

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