summaryrefslogtreecommitdiffstats
path: root/xbmc/interfaces/json-rpc/schema/GenerateAddonXml.cmake
blob: 7f0817b6a8013f047fd16fae6afb1dfd3a8804df (plain)
1
2
3
4
5
6
include(${CMAKE_SOURCE_DIR}/cmake/scripts/common/Macros.cmake)
core_find_versions()

file(REMOVE ${CORE_BINARY_DIR}/addons/xbmc.json/addon.xml)
configure_file(${CMAKE_SOURCE_DIR}/addons/xbmc.json/addon.xml.in
               ${CORE_BINARY_DIR}/addons/xbmc.json/addon.xml @ONLY)