Bump to 0.2.24

main
Duncan Ogilvie 1 year ago
parent bdd9d393d6
commit 5bfa03d311

2
CMakeLists.txt generated

@ -22,7 +22,7 @@ project(cmkr
LANGUAGES LANGUAGES
CXX CXX
VERSION VERSION
0.2.23 0.2.24
DESCRIPTION DESCRIPTION
"CMakeLists generator from TOML" "CMakeLists generator from TOML"
) )

@ -4,7 +4,7 @@ cmkr-include = false
[project] [project]
name = "cmkr" name = "cmkr"
version = "0.2.23" version = "0.2.24"
description = "CMakeLists generator from TOML" description = "CMakeLists generator from TOML"
languages = ["CXX"] languages = ["CXX"]
include-after = [ include-after = [

@ -2,7 +2,7 @@ include_guard()
# Change these defaults to point to your infrastructure if desired # Change these defaults to point to your infrastructure if desired
set(CMKR_REPO "https://github.com/build-cpp/cmkr" CACHE STRING "cmkr git repository" FORCE) set(CMKR_REPO "https://github.com/build-cpp/cmkr" CACHE STRING "cmkr git repository" FORCE)
set(CMKR_TAG "v0.2.23" CACHE STRING "cmkr git tag (this needs to be available forever)" FORCE) set(CMKR_TAG "v0.2.24" CACHE STRING "cmkr git tag (this needs to be available forever)" FORCE)
set(CMKR_COMMIT_HASH "" CACHE STRING "cmkr git commit hash (optional)" FORCE) set(CMKR_COMMIT_HASH "" CACHE STRING "cmkr git commit hash (optional)" FORCE)
# To bootstrap/generate a cmkr project: cmake -P cmkr.cmake # To bootstrap/generate a cmkr project: cmake -P cmkr.cmake

@ -780,7 +780,6 @@ const Project *Project::root() const {
bool Project::cmake_minimum_version(int major, int minor) const { bool Project::cmake_minimum_version(int major, int minor) const {
// NOTE: this code is like pulling teeth, sorry // NOTE: this code is like pulling teeth, sorry
auto root_version = root()->cmake_version; auto root_version = root()->cmake_version;
puts(root_version.c_str());
auto range_index = root_version.find("..."); auto range_index = root_version.find("...");
if (range_index != std::string::npos) { if (range_index != std::string::npos) {
root_version.resize(range_index); root_version.resize(range_index);

Loading…
Cancel
Save