build: Add new target codemeta to generate codemeta.json

This commit is contained in:
Dennis Klein 2023-09-11 19:11:37 +02:00
parent 5ec3bb902e
commit a736ec7e40

View File

@ -72,6 +72,11 @@ endif()
if(BUILD_TIDY_TOOL) if(BUILD_TIDY_TOOL)
add_subdirectory(fairmq/tidy) add_subdirectory(fairmq/tidy)
endif() 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)
################################################################################ ################################################################################