|
|
@ -1,6 +1,23 @@
|
|
|
|
# This file is automatically generated from cmake.toml - DO NOT EDIT
|
|
|
|
# This file is automatically generated from cmake.toml - DO NOT EDIT
|
|
|
|
# See https://github.com/build-cpp/cmkr for more information
|
|
|
|
# See https://github.com/build-cpp/cmkr for more information
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Regenerate CMakeLists.txt automatically in the root project
|
|
|
|
|
|
|
|
set(CMKR_ROOT_PROJECT OFF)
|
|
|
|
|
|
|
|
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
|
|
|
|
|
|
|
set(CMKR_ROOT_PROJECT ON)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Bootstrap cmkr
|
|
|
|
|
|
|
|
include(cmkr.cmake OPTIONAL RESULT_VARIABLE CMKR_INCLUDE_RESULT)
|
|
|
|
|
|
|
|
if(CMKR_INCLUDE_RESULT)
|
|
|
|
|
|
|
|
cmkr()
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Enable folder support
|
|
|
|
|
|
|
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# Create a configure-time dependency on cmake.toml to improve IDE support
|
|
|
|
# Create a configure-time dependency on cmake.toml to improve IDE support
|
|
|
|
if(CMKR_ROOT_PROJECT)
|
|
|
|
if(CMKR_ROOT_PROJECT)
|
|
|
|
configure_file(cmake.toml cmake.toml COPYONLY)
|
|
|
|
configure_file(cmake.toml cmake.toml COPYONLY)
|
|
|
@ -41,25 +58,3 @@ target_include_directories(linux-pe INTERFACE
|
|
|
|
unset(CMKR_TARGET)
|
|
|
|
unset(CMKR_TARGET)
|
|
|
|
unset(CMKR_SOURCES)
|
|
|
|
unset(CMKR_SOURCES)
|
|
|
|
|
|
|
|
|
|
|
|
# Target xtils
|
|
|
|
|
|
|
|
set(CMKR_TARGET xtils)
|
|
|
|
|
|
|
|
set(xtils_SOURCES "")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(CMKR_SOURCES ${xtils_SOURCES})
|
|
|
|
|
|
|
|
add_library(xtils INTERFACE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(xtils_SOURCES)
|
|
|
|
|
|
|
|
target_sources(xtils INTERFACE ${xtils_SOURCES})
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
target_compile_definitions(xtils INTERFACE
|
|
|
|
|
|
|
|
UNICODE
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
target_include_directories(xtils INTERFACE
|
|
|
|
|
|
|
|
xtils
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unset(CMKR_TARGET)
|
|
|
|
|
|
|
|
unset(CMKR_SOURCES)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|