Browse Source

Update CMakeLists

Define library.
master
TheoryOfNekomata 10 months ago
parent
commit
1e735de0da
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      CMakeLists.txt

+ 7
- 0
CMakeLists.txt View File

@@ -5,6 +5,12 @@ set(CMAKE_C_STANDARD 11)


include_directories(.) include_directories(.)


add_library(
midi_utils STATIC
midi-utils.c
midi-utils.h
)

add_executable( add_executable(
test-note-names test-note-names
test-note-names.c test-note-names.c
@@ -18,3 +24,4 @@ add_custom_command(
"${CMAKE_HOME_DIRECTORY}/cases.txt" "${CMAKE_HOME_DIRECTORY}/cases.txt"
$<TARGET_FILE_DIR:test-note-names> $<TARGET_FILE_DIR:test-note-names>
) )


Loading…
Cancel
Save