Skip to content

Commit

Permalink
ripples: exclude mutex.h
Browse files Browse the repository at this point in the history
  • Loading branch information
v7b1 committed Feb 3, 2025
1 parent c6b3485 commit 20716e2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'

Expand Down Expand Up @@ -108,3 +108,4 @@ jobs:
file: ${{github.workspace}}/build/mi-UGens-${{runner.os}}.zip
asset_name: mi-UGens-${{runner.os}}.zip
tag: ${{ github.ref }}
overwrite: true
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ if (APPLE)
endif()


# specify the C++ standard
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17" CACHE STRING "c++ version" FORCE)
if(CMAKE_COMPILER_IS_CLANG)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
if (NOT MSVC)
# specify the C++ standard
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17" CACHE STRING "c++ version" FORCE)
if(CMAKE_COMPILER_IS_CLANG)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
endif()


Expand Down
8 changes: 4 additions & 4 deletions projects/MiRipples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ include_directories(${SC_PATH}/external_libraries/libsndfile/)
set(VCV_PATH "${CMAKE_CURRENT_SOURCE_DIR}/vcvrack")
set(VCV_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/vcvrack/include")

# specify the C++ standard
#set(CMAKE_CXX_STANDARD 11)
#set(CMAKE_CXX_STANDARD_REQUIRED True)


if(MSVC)
add_definitions(-D_USE_MATH_DEFINES) # defines M_PI with MSVC
# specify the C++ standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
endif()

set(VCV_SOURCES
${VCV_PATH}/Ripples/aafilter.hpp
${VCV_PATH}/Ripples/ripples.hpp
${VCV_PATH}/Ripples/sos.hpp
#${VCV_PATH}/src/random.cpp
)


Expand Down
2 changes: 1 addition & 1 deletion projects/MiRipples/vcvrack/Ripples/rack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Directly including Rack headers other than rack.hpp in your plugin is unsupporte
#include <math.hpp>
#include <string.hpp>
#include <system.hpp>
#include <mutex.hpp>
//#include <mutex.hpp>
#include <random.hpp>
//#include <network.hpp>
//#include <asset.hpp>
Expand Down

0 comments on commit 20716e2

Please sign in to comment.