qt5base-lts/cmake/ModuleDescription.json.in
Alexandru Croitor 9471febddf CMake: Use PROJECT_VERSION for generated QtModule.json files
So that the correct version is generated in top-level builds.

Change-Id: I360370815ce178564cc79157dc61d70adfd4f947
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2021-04-15 14:23:11 +02:00

12 lines
366 B
JSON

{
"module_name": "${target}",
"version": "${PROJECT_VERSION}",
"built_with": {
"compiler_id": "${CMAKE_CXX_COMPILER_ID}",
"compiler_target": "${CMAKE_CXX_COMPILER_TARGET}",
"compiler_version": "${CMAKE_CXX_COMPILER_VERSION}",
"cross_compiled": ${cross_compilation},
"target_system": "${CMAKE_SYSTEM_NAME}"
}
}