self-hosting v0.1.3
MoAlyousef 4 years ago
parent 16e68d7542
commit f8ab24e0a2

@ -1,5 +1,10 @@
# CHANGELOG # 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 ## 0.1.2 - 2020-11-20
- Add support for target properties. - Add support for target properties.
- Add installs. - Add installs.

@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.15)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) 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}) project(cmkr VERSION ${cmkr_PROJECT_VERSION})
include(FetchContent) include(FetchContent)

@ -35,18 +35,19 @@ minimum = "3.15"
[project] [project]
name = "cmkr" name = "cmkr"
version = "0.1.2" version = "0.1.3"
[fetch-content] [fetch-content]
toml11 = { git = "https://github.com/ToruNiina/toml11" } toml11 = { git = "https://github.com/ToruNiina/toml11" }
filesystem = { git = "https://github.com/gulrak/filesystem" }
[[bin]] [[bin]]
name = "cmkrlib" name = "cmkrlib"
type = "static" type = "static"
sources = ["src/cmake.cpp", "src/gen.cpp", "src/help.cpp", "src/build.cpp", "src/error.cpp"] sources = ["src/cmake.cpp", "src/gen.cpp", "src/help.cpp", "src/build.cpp", "src/error.cpp"]
include-dirs = ["include"] include-dirs = ["include"]
features = ["cxx_std_17"] features = ["cxx_std_11"]
link-libs = ["toml11::toml11"] link-libs = ["toml11::toml11", "ghc_filesystem"]
[[bin]] [[bin]]
name = "cmkr" name = "cmkr"

@ -3,7 +3,7 @@ minimum = "3.15"
[project] [project]
name = "cmkr" name = "cmkr"
version = "0.1.2" version = "0.1.3"
[fetch-content] [fetch-content]
toml11 = { git = "https://github.com/ToruNiina/toml11" } toml11 = { git = "https://github.com/ToruNiina/toml11" }

@ -3,8 +3,10 @@
#ifdef __cplusplus #ifdef __cplusplus
namespace cmkr { namespace cmkr {
namespace args { namespace args {
const char *handle_args(int argc, char **argv); const char *handle_args(int argc, char **argv);
}
} // namespace args
} // namespace cmkr } // namespace cmkr
extern "C" { extern "C" {

@ -3,7 +3,7 @@
namespace cmkr { namespace cmkr {
namespace help { 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 { const char *message() noexcept {
return R"lit( return R"lit(

Loading…
Cancel
Save