From 642f0b1637a331b072d63138157bae23b14c7b59 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 3 Jul 2023 16:42:59 +0200 Subject: cmake: Support "targets" field --- CC/foreign/cmake/RULES | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CC/foreign/cmake/RULES') diff --git a/CC/foreign/cmake/RULES b/CC/foreign/cmake/RULES index 0b1086c..63d6e48 100644 --- a/CC/foreign/cmake/RULES +++ b/CC/foreign/cmake/RULES @@ -12,6 +12,7 @@ [ "subdir" , "options" , "defines" + , "targets" , "jobs" , "pre_cmds" , "post_cmds" @@ -50,6 +51,10 @@ [ "CMake defines for the configuration phase." , "(e.g., [\"CMAKE_BUILD_TYPE=Release\"])" ] + , "targets": + [ "The CMake targets to build in the specified order" + , "(default: [\"install\"])." + ] , "jobs": [ "Number of jobs to run simultaneously. If omitted, CMake's default" , "number is used." @@ -190,6 +195,7 @@ , ["cmake_subdir", {"type": "FIELD", "name": "subdir"}] , ["cmake_options", {"type": "FIELD", "name": "options"}] , ["cmake_defines", {"type": "FIELD", "name": "defines"}] + , ["cmake_targets", {"type": "FIELD", "name": "targets"}] , ["cmake_jobs", {"type": "FIELD", "name": "jobs"}] , ["pre_cmds", {"type": "FIELD", "name": "pre_cmds"}] , ["post_cmds", {"type": "FIELD", "name": "post_cmds"}] -- cgit v1.2.3