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 2506d4c commit dcd222aCopy full SHA for dcd222a
1 file changed
CMakeLists.txt
@@ -21,6 +21,22 @@ else()
21
if (NOT COMMAND juce_add_module)
22
message(FATAL_ERROR "JUCE must be added to your project before pluginval!")
23
endif ()
24
+
25
+ option(PLUGINVAL_STRICTNESS_LEVEL "Pluginval --strictness argument" 10)
26
27
+ if(APPLE)
28
+ set(PLUGIN_TARGET "${CMAKE_PROJECT_NAME}_AU")
29
+ else()
30
+ set(PLUGIN_TARGET "${CMAKE_PROJECT_NAME}_VST3")
31
+ endif()
32
33
+ add_custom_target(${CMAKE_PROJECT_NAME}_Pluginval
34
+ COMMAND
35
+ pluginval
36
+ --validate ${artefact}
37
+ --strictness-level ${PLUGINVAL_STRICTNESS_LEVEL}
38
+ DEPENDS ${PLUGIN_TARGET} pluginval
39
+ VERBATIM)
40
endif()
41
42
# sanitizer options, from https://github.com/sudara/cmake-includes/blob/main/Sanitizers.cmake
0 commit comments