mirror of https://github.com/status-im/evmc.git
buildinfo: Mark buildinfo.json as GENERATED file
This commit is contained in:
parent
e62eaa7ea5
commit
259d7ac174
|
@ -52,7 +52,7 @@ function(cable_add_buildinfo_library)
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
COMMENT "Updating ${name}:"
|
COMMENT "Updating ${name}:"
|
||||||
OUTPUT ${source_file}
|
OUTPUT ${source_file} ${output_dir}/buildinfo.json
|
||||||
COMMAND ${CMAKE_COMMAND}
|
COMMAND ${CMAKE_COMMAND}
|
||||||
-DOUTPUT_DIR=${output_dir}
|
-DOUTPUT_DIR=${output_dir}
|
||||||
-DPROJECT_NAME=${_PROJECT_NAME}
|
-DPROJECT_NAME=${_PROJECT_NAME}
|
||||||
|
@ -67,6 +67,7 @@ function(cable_add_buildinfo_library)
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${cable_buildinfo_template_dir}/buildinfo.cmake
|
${cable_buildinfo_template_dir}/buildinfo.cmake
|
||||||
${cable_buildinfo_template_dir}/buildinfo.c.in
|
${cable_buildinfo_template_dir}/buildinfo.c.in
|
||||||
|
${cable_buildinfo_template_dir}/buildinfo.json.in
|
||||||
${name}-git
|
${name}-git
|
||||||
${output_dir}/gitinfo.txt
|
${output_dir}/gitinfo.txt
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue