From 52d185f8c70352ced670481e57f896143d3d8527 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 28 Dec 2021 14:32:58 -0800 Subject: [PATCH] removed xtils from the CMakeLists file --- .gitignore | 3 ++- dependencies/CMakeLists.txt | 39 ++++++++++++++++--------------------- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 52f271d..418543b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ cmake-build*/ build*/ out/ .vs/ -.cache/ \ No newline at end of file +.cache/ +.exe \ No newline at end of file diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt index 3a82519..6423405 100644 --- a/dependencies/CMakeLists.txt +++ b/dependencies/CMakeLists.txt @@ -1,6 +1,23 @@ # This file is automatically generated from cmake.toml - DO NOT EDIT # 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 if(CMKR_ROOT_PROJECT) configure_file(cmake.toml cmake.toml COPYONLY) @@ -41,25 +58,3 @@ target_include_directories(linux-pe INTERFACE unset(CMKR_TARGET) 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) -