From a736ec7e40c673d0f63220e66d09f6cc3c801279 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Mon, 11 Sep 2023 19:11:37 +0200 Subject: [PATCH] build: Add new target `codemeta` to generate `codemeta.json` --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 428625b5f..ed341c2d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,11 @@ endif() if(BUILD_TIDY_TOOL) add_subdirectory(fairmq/tidy) endif() + +add_custom_target(codemeta + python3 ${CMAKE_SOURCE_DIR}/meta_update.py --outdir ${CMAKE_BINARY_DIR} --set-version ${PROJECT_VERSION} + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + VERBATIM USES_TERMINAL) ################################################################################