diff options
-rw-r--r-- | CMakeLists.txt | 19 | ||||
-rw-r--r-- | utils/makemhr/loaddef.cpp | 0 | ||||
-rw-r--r-- | utils/makemhr/loaddef.h | 0 | ||||
-rw-r--r-- | utils/makemhr/loadsofa.cpp | 0 | ||||
-rw-r--r-- | utils/makemhr/loadsofa.h | 0 | ||||
-rw-r--r-- | utils/makemhr/makemhr.cpp (renamed from utils/makehrtf.cpp) | 0 |
6 files changed, 12 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 60e3bbd2..ff35317d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1457,15 +1457,20 @@ IF(ALSOFT_UTILS) find_package(MySOFA) if(MYSOFA_FOUND) - set(MAKEHRTF_SRCS utils/makehrtf.cpp) + set(MAKEMHR_SRCS + utils/makemhr/loaddef.cpp + utils/makemhr/loaddef.h + utils/makemhr/loadsofa.cpp + utils/makemhr/loadsofa.h + utils/makemhr/makemhr.cpp) if(NOT HAVE_GETOPT) - set(MAKEHRTF_SRCS ${MAKEHRTF_SRCS} utils/getopt.c utils/getopt.h) + set(MAKEMHR_SRCS ${MAKEMHR_SRCS} utils/getopt.c utils/getopt.h) endif() - add_executable(makehrtf ${MAKEHRTF_SRCS}) - target_compile_definitions(makehrtf PRIVATE ${CPP_DEFS}) - target_compile_options(makehrtf PRIVATE ${C_FLAGS}) - target_link_libraries(makehrtf PRIVATE ${LINKER_FLAGS} MySOFA::MySOFA) - set(UTIL_TARGETS ${UTIL_TARGETS} makehrtf) + add_executable(makemhr ${MAKEMHR_SRCS}) + target_compile_definitions(makemhr PRIVATE ${CPP_DEFS}) + target_compile_options(makemhr PRIVATE ${C_FLAGS}) + target_link_libraries(makemhr PRIVATE ${LINKER_FLAGS} MySOFA::MySOFA) + set(UTIL_TARGETS ${UTIL_TARGETS} makemhr) set(SOFAINFO_SRCS utils/sofa-info.cpp) add_executable(sofa-info ${SOFAINFO_SRCS}) diff --git a/utils/makemhr/loaddef.cpp b/utils/makemhr/loaddef.cpp new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/utils/makemhr/loaddef.cpp diff --git a/utils/makemhr/loaddef.h b/utils/makemhr/loaddef.h new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/utils/makemhr/loaddef.h diff --git a/utils/makemhr/loadsofa.cpp b/utils/makemhr/loadsofa.cpp new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/utils/makemhr/loadsofa.cpp diff --git a/utils/makemhr/loadsofa.h b/utils/makemhr/loadsofa.h new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/utils/makemhr/loadsofa.h diff --git a/utils/makehrtf.cpp b/utils/makemhr/makemhr.cpp index 27b1d69d..27b1d69d 100644 --- a/utils/makehrtf.cpp +++ b/utils/makemhr/makemhr.cpp |