gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

CMakeLists.txt (604B)


      1 # pm_test
      2 
      3 # set the build directory to be in portmidi, not in portmidi/pm_test
      4 # this is required for Xcode:
      5 if(APPLE)
      6 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
      7 endif(APPLE)
      8 
      9 if(WIN32)
     10 include(../pm_win/static.cmake)
     11 endif(WIN32)
     12 
     13 macro(make_a_test name)
     14   add_executable(${name} ${name}.c)
     15   target_link_libraries(${name} portmidi-static ${PM_NEEDED_LIBS})
     16   add_dependencies(${name} portmidi-static)
     17 endmacro(make_a_test)
     18 
     19 make_a_test(test)
     20 make_a_test(midithread)
     21 make_a_test(midithru)
     22 make_a_test(sysex)
     23 make_a_test(latency)
     24 make_a_test(mm)
     25 make_a_test(midiclock)
     26 make_a_test(qtest)