summaryrefslogtreecommitdiff
path: root/portmidi/pm_test/CMakeLists.txt
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-07 19:30:56 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-07 19:30:56 +0200
commit40a899bd6ee536eae093337bf2d0dcc8db4e46f1 (patch)
tree485ace3e6fd28b91f394efd277732651e10824d8 /portmidi/pm_test/CMakeLists.txt
parent6fc4bddfdf8e056469f316c1a0fe488efbb4253a (diff)
downloadttdaw-40a899bd6ee536eae093337bf2d0dcc8db4e46f1.tar.gz
Moved example code examples folder
Diffstat (limited to 'portmidi/pm_test/CMakeLists.txt')
-rw-r--r--portmidi/pm_test/CMakeLists.txt46
1 files changed, 0 insertions, 46 deletions
diff --git a/portmidi/pm_test/CMakeLists.txt b/portmidi/pm_test/CMakeLists.txt
deleted file mode 100644
index ae0fe48..0000000
--- a/portmidi/pm_test/CMakeLists.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-# CMake file to build tests in this directory: pm_test
-
-# set the build directory to be in portmidi, not in portmidi/pm_test
-# this is required for Xcode:
-if(APPLE)
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
-endif(APPLE)
-
-# if(WIN32)
-# if(NOT BUILD_SHARED_LIBS)
- # /MDd is multithread debug DLL, /MTd is multithread debug
- # /MD is multithread DLL, /MT is multithread. Change to static:
-# include(../pm_win/static.cmake)
-# endif()
-# endif(WIN32)
-
-if(HAIKU)
- add_compile_options(-fPIC) # Haiku x86_64 needs this explicitly
-endif()
-
-macro(add_test name)
- add_executable(${name} ${name}.c)
- target_link_libraries(${name} PRIVATE portmidi)
- set_property(TARGET ${name} PROPERTY MSVC_RUNTIME_LIBRARY
- "MultiThreaded$<$<CONFIG:Debug>:Debug>${MSVCRT_DLL}")
-endmacro(add_test)
-
-add_test(testio)
-add_test(midithread)
-add_test(midithru)
-add_test(sysex)
-add_test(latency)
-add_test(mm)
-add_test(midiclock)
-add_test(qtest)
-add_test(fast)
-add_test(fastrcv)
-add_test(pmlist)
-if(WIN32)
-# windows does not implement Pm_CreateVirtualInput or Pm_CreateVirtualOutput
-else(WIN32)
-add_test(recvvirtual)
-add_test(sendvirtual)
-add_test(multivirtual)
-add_test(virttest)
-endif(WIN32)