set(APP_NAME @APP_NAME@) set(APP_NAME_LC @APP_NAME_LC@) set(APP_NAME_UC @APP_NAME_UC@) set(APP_PACKAGE @APP_PACKAGE@) set(APP_VERSION_MAJOR @APP_VERSION_MAJOR@) set(APP_VERSION_MINOR @APP_VERSION_MINOR@) if(NOT @APP_NAME_UC@_PREFIX) set(@APP_NAME_UC@_PREFIX @APP_PREFIX@) endif() if(NOT @APP_NAME_UC@_INCLUDE_DIR) set(@APP_NAME_UC@_INCLUDE_DIR @APP_INCLUDE_DIR@) endif() if(NOT @APP_NAME_UC@_LIB_DIR) set(@APP_NAME_UC@_LIB_DIR @APP_LIB_DIR@) endif() if(NOT @APP_NAME_UC@_DATA_DIR) set(@APP_NAME_UC@_DATA_DIR @APP_DATA_DIR@) endif() set(APP_RENDER_SYSTEM @APP_RENDER_SYSTEM@) if(NOT WIN32) set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} @CXX11_SWITCH@") endif() list(APPEND CMAKE_MODULE_PATH @APP_LIB_DIR@ @APP_DATA_DIR@/cmake) string(REPLACE ";" " " ARCH_DEFINES "@ARCH_DEFINES@") add_definitions(${ARCH_DEFINES} -DBUILD_KODI_ADDON) set(CORE_SYSTEM_NAME @CORE_SYSTEM_NAME@) set(PLATFORM @CORE_SYSTEM_NAME@) set(PLATFORM_TAG @PLATFORM_TAG@) include(AddonHelpers)