Merge pull request #89 from sfztools/paulfd/cxx-standard-tweaks
Override the CXX_STANDARD to 17 for plugins
This commit is contained in:
commit
1bfcfd4b8c
3 changed files with 6 additions and 5 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -73,7 +73,6 @@ jobs:
|
|||
-B build
|
||||
-S .
|
||||
-D CMAKE_BUILD_TYPE=${{ env.build_type }}
|
||||
-D CMAKE_CXX_STANDARD=17
|
||||
-D SFIZZ_JACK=OFF
|
||||
-D SFIZZ_RENDER=OFF
|
||||
-D SFIZZ_SHARED=OFF
|
||||
|
|
@ -122,7 +121,6 @@ jobs:
|
|||
-B build
|
||||
-S .
|
||||
-D CMAKE_BUILD_TYPE=${{ env.build_type }}
|
||||
-D CMAKE_CXX_STANDARD=17
|
||||
-D SFIZZ_SHARED=OFF
|
||||
-D PLUGIN_AU=ON
|
||||
-D PLUGIN_LV2=ON
|
||||
|
|
@ -198,7 +196,6 @@ jobs:
|
|||
-B build `
|
||||
-S . `
|
||||
-D CMAKE_BUILD_TYPE=${{ env.build_type }} `
|
||||
-D CMAKE_CXX_STANDARD=17 `
|
||||
-D PLUGIN_LV2=ON `
|
||||
-D PLUGIN_PUREDATA=ON `
|
||||
-D PLUGIN_VST3=ON
|
||||
|
|
@ -314,7 +311,6 @@ jobs:
|
|||
-B build
|
||||
-S .
|
||||
-D CMAKE_BUILD_TYPE=${{ env.build_type }}
|
||||
-D CMAKE_CXX_STANDARD=17
|
||||
-D ENABLE_LTO=OFF
|
||||
-D SFIZZ_SNDFILE_STATIC=ON
|
||||
-D SFIZZ_JACK=OFF
|
||||
|
|
|
|||
|
|
@ -52,6 +52,11 @@ if(WIN32)
|
|||
add_compile_definitions(_WIN32_WINNT=0x0A00)
|
||||
endif()
|
||||
|
||||
# Override sfizz CXX standard since vstgui requires 17 anyway
|
||||
if (PLUGIN_AU OR PLUGIN_LV2_UI OR PLUGIN_VST3 OR PLUGIN_VST2)
|
||||
set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to be used")
|
||||
endif()
|
||||
|
||||
include(SfizzConfig) # Re-used for this project
|
||||
include(BundleDylibs)
|
||||
|
||||
|
|
|
|||
2
library
2
library
|
|
@ -1 +1 @@
|
|||
Subproject commit 76aa35a65fb4ab489d5478e8b4081b0e56af5d35
|
||||
Subproject commit 8b4ef10bcfd326c0f9a18016bd8156fdd73f08b1
|
||||
Loading…
Add table
Reference in a new issue