Skip to content

Commit 1b833be

Browse files
committed
Remove custom CLI command attempt
1 parent c5e7a3d commit 1b833be

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

CMakeLists.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -107,27 +107,4 @@ if (pluginval_IS_TOP_LEVEL)
107107
COMMENT "Regenerating Command line options.md..."
108108
USES_TERMINAL)
109109
add_custom_target (PluginvalDocs DEPENDS "${cmdline_docs_out}")
110-
else()
111-
112-
# Custom pluginval CLI target
113-
set(PLUGINVAL_STRICTNESS_LEVEL 10 CACHE STRING "Pluginval --strictness argument (1-10)")
114-
set_property(CACHE PLUGINVAL_STRICTNESS_LEVEL PROPERTY STRINGS 1 2 3 4 5 6 7 8 9 10)
115-
116-
# Set the target based on the platform
117-
# Makes the assumption both are being built
118-
if(APPLE)
119-
set(PLUGINVAL_TARGET "${CMAKE_PROJECT_NAME}_AU")
120-
else()
121-
set(PLUGINVAL_TARGET "${CMAKE_PROJECT_NAME}_VST3")
122-
endif()
123-
124-
get_target_property(artefact ${PLUGINVAL_TARGET} JUCE_PLUGIN_ARTEFACT_FILE)
125-
126-
# TODO: This doesn't populate the executable in clion
127-
add_custom_target(${CMAKE_PROJECT_NAME}_pluginval_cli
128-
COMMAND $<TARGET_FILE:pluginval>
129-
--validate ${artefact}
130-
--strictness-level 10
131-
DEPENDS pluginval ${PLUGINVAL_TARGET}
132-
COMMENT "Run pluginval CLI with strict validation")
133110
endif()

0 commit comments

Comments
 (0)