We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c712ef commit 7c61a4aCopy full SHA for 7c61a4a
CMakeLists.txt
@@ -15,6 +15,23 @@ if (pluginval_IS_TOP_LEVEL)
15
# set(CMAKE_OSX_ARCHITECTURES arm64 x86_64)
16
endif()
17
18
+else()
19
+ option(PLUGINVAL_STRICTNESS_LEVEL "Pluginval --strictness argument" 10)
20
+
21
+ if(APPLE)
22
+ set(PLUGIN_TARGET "${CMAKE_PROJECT_NAME}_AU")
23
+ else()
24
+ set(PLUGIN_TARGET "${CMAKE_PROJECT_NAME}_VST3")
25
+ endif()
26
27
+ add_custom_target(${CMAKE_PROJECT_NAME}_Pluginval
28
+ COMMAND
29
+ pluginval
30
+ --validate ${artefact}
31
+ --strictness-level ${PLUGINVAL_STRICTNESS_LEVEL}
32
+ DEPENDS ${PLUGIN_TARGET} pluginval
33
+ VERBATIM)
34
35
36
37
# sanitizer options, from https://github.com/sudara/cmake-includes/blob/main/Sanitizers.cmake
0 commit comments