12 lines
484 B
CMake
12 lines
484 B
CMake
# -*- cmake -*-
|
|
# Construct the version and copyright information based on package data.
|
|
include(Python)
|
|
include(Variables)
|
|
|
|
add_custom_command(OUTPUT packages-info.txt
|
|
COMMENT "Generating packages-info.txt for the about box"
|
|
MAIN_DEPENDENCY ${CMAKE_SOURCE_DIR}/../autobuild.xml
|
|
DEPENDS ${CMAKE_SOURCE_DIR}/../scripts/packages-formatter.py
|
|
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/../scripts/packages-formatter.py -p=${AUTOBUILD_PLATFORM_NAME} > packages-info.txt
|
|
)
|