From f8ab24e0a2dca525959761a64458ba83e5054d70 Mon Sep 17 00:00:00 2001 From: MoAlyousef Date: Fri, 27 Nov 2020 17:46:32 +0300 Subject: [PATCH] bump 0.1.3 --- CHANGELOG.md | 5 +++++ CMakeLists.txt | 2 +- README.md | 7 ++++--- cmake.toml | 2 +- include/args.h | 4 +++- src/help.cpp | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb8af2d..4a144fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +## 0.1.3 - 2020-11-27 +- Support building with C++11. +- @mrexodia implemented CMake integration and bootstrapping. +- Add dependency on ghc_filesystem which is fetched automatically using FetchContent. + ## 0.1.2 - 2020-11-20 - Add support for target properties. - Add installs. diff --git a/CMakeLists.txt b/CMakeLists.txt index c28d2ee..755bcc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.15) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) -set(cmkr_PROJECT_VERSION 0.1.2) +set(cmkr_PROJECT_VERSION 0.1.3) project(cmkr VERSION ${cmkr_PROJECT_VERSION}) include(FetchContent) diff --git a/README.md b/README.md index a3453f1..adc707b 100644 --- a/README.md +++ b/README.md @@ -35,18 +35,19 @@ minimum = "3.15" [project] name = "cmkr" -version = "0.1.2" +version = "0.1.3" [fetch-content] toml11 = { git = "https://github.com/ToruNiina/toml11" } +filesystem = { git = "https://github.com/gulrak/filesystem" } [[bin]] name = "cmkrlib" type = "static" sources = ["src/cmake.cpp", "src/gen.cpp", "src/help.cpp", "src/build.cpp", "src/error.cpp"] include-dirs = ["include"] -features = ["cxx_std_17"] -link-libs = ["toml11::toml11"] +features = ["cxx_std_11"] +link-libs = ["toml11::toml11", "ghc_filesystem"] [[bin]] name = "cmkr" diff --git a/cmake.toml b/cmake.toml index c4fbb73..f26aa93 100644 --- a/cmake.toml +++ b/cmake.toml @@ -3,7 +3,7 @@ minimum = "3.15" [project] name = "cmkr" -version = "0.1.2" +version = "0.1.3" [fetch-content] toml11 = { git = "https://github.com/ToruNiina/toml11" } diff --git a/include/args.h b/include/args.h index 8edf821..6cb9d3c 100644 --- a/include/args.h +++ b/include/args.h @@ -3,8 +3,10 @@ #ifdef __cplusplus namespace cmkr { namespace args { + const char *handle_args(int argc, char **argv); -} + +} // namespace args } // namespace cmkr extern "C" { diff --git a/src/help.cpp b/src/help.cpp index 20f4726..0bfc07c 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -3,7 +3,7 @@ namespace cmkr { namespace help { -const char *version() noexcept { return "cmkr version 0.1.2"; } +const char *version() noexcept { return "cmkr version 0.1.3"; } const char *message() noexcept { return R"lit(