Skip to content

Commit

Permalink
compiling - but crashing on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
MeijisIrlnd committed Aug 15, 2024
1 parent 5f56107 commit be9c494
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
20 changes: 13 additions & 7 deletions cmake/mostly_harmless.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function(mostly_harmless_add_plugin)
MACOSX_BUNDLE_BUNDLE_NAME ${PLUGIN_NAME}
MACOSX_BUNDLE_BUNDLE_VERSION "0.0.1"
MACOSX_BUNDLE_SHORT_VERSION_STRING "0.0.1"
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/cmake/mostly_harmless.plist.in
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_FUNCTION_LIST_DIR}/mostly_harmless.plist.in
)
elseif (WIN32)
set_target_properties(${PLUGIN_NAME}_CLAP
Expand All @@ -90,12 +90,18 @@ function(mostly_harmless_add_plugin)
target_link_libraries(${PLUGIN_NAME}_VST3 PUBLIC ${PLUGIN_NAME}_SharedCode)

if (APPLE)
add_library(${PLUGIN_NAME}_AU MODULE)
target_add_auv2_wrapper(
TARGET ${PLUGIN_NAME}_AU
OUTPUT_NAME ${PLUGIN_NAME}
)
target_link_libraries(${PLUGIN_NAME}_AU PUBLIC ${PLUGIN_NAME}_SharedCode})
#TODO: AU
# add_library(${PLUGIN_NAME}_AU MODULE)
# target_add_auv2_wrapper(
# TARGET ${PLUGIN_NAME}_AU
# OUTPUT_NAME ${PLUGIN_NAME}
# BUNDLE_IDENTIFIER "com.${PLUGIN_VENDOR}.${PLUGIN_NAME}"
# BUNDLE_VERSION "1"
#
# MANUFACTURER_NAME ${PLUGIN_VENDOR}
# MANUFACTURER_CODE
# )
# target_link_libraries(${PLUGIN_NAME}_AU PUBLIC ${PLUGIN_NAME}_SharedCode})
endif ()

add_executable(${PLUGIN_NAME}_Standalone)
Expand Down
1 change: 1 addition & 0 deletions source/utils/mostlyharmless_Timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Created by Syl on 12/08/2024.
//
#include <mostly_harmless/utils/mostlyharmless_Timer.h>
#include <thread>
namespace mostly_harmless::utils {
Timer::~Timer() noexcept {
stop();
Expand Down

0 comments on commit be9c494

Please sign in to comment.