Skip to content

Commit

Permalink
Release v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hirrolot committed Dec 9, 2021
1 parent 6a904b4 commit 2999631
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## unreleased

## 1.6.1 - 2021-12-09

### Fixed

- Specify `C` as the project language in `CMakeLists.txt`. Previously, CMake detected C++ and required a C++ compiler in order to compiler the project.
- Specify `C` as the project language in `CMakeLists.txt`. Previously, CMake detected C++ and required a C++ compiler to compile the project.
- Require CMake v3.11.4.

## 1.6.0 - 2021-12-01

Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.0.2)
cmake_minimum_required(VERSION 3.11.4)
project(datatype99 LANGUAGES C)

include(FetchContent)

FetchContent_Declare(
metalang99
URL https://github.com/Hirrolot/metalang99/archive/refs/tags/v1.13.0.tar.gz
URL https://github.com/Hirrolot/metalang99/archive/refs/tags/v1.13.1.tar.gz
)

FetchContent_MakeAvailable(metalang99)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ add_subdirectory(datatype99)
target_link_libraries(MyProject datatype99)
```

In the latter case, I encourage you to download Datatype99 as a [Git submodule] to be able to update it with `git submodule update --remote` when necessary. Also, note that by default, Datatype99's `CMakeLists.txt` downloads Metalang99 [v1.13.0](https://github.com/Hirrolot/metalang99/releases/tag/v1.13.0) from the GitHub release archives; if you want to override this behaviour, you can do so by invoking [`FetchContent_Declare`] earlier.
In the latter case, I encourage you to download Datatype99 as a [Git submodule] to be able to update it with `git submodule update --remote` when necessary. Also, note that by default, Datatype99's `CMakeLists.txt` downloads Metalang99 [v1.13.1](https://github.com/Hirrolot/metalang99/releases/tag/v1.13.1) from the GitHub release archives; if you want to override this behaviour, you can do so by invoking [`FetchContent_Declare`] earlier.

[Git submodule]: https://git-scm.com/book/en/v2/Git-Tools-Submodules
[`FetchContent_Declare`]: https://cmake.org/cmake/help/latest/module/FetchContent.html#command:fetchcontent_declare
Expand Down
6 changes: 3 additions & 3 deletions datatype99.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ SOFTWARE.

#include <metalang99.h>

#if !ML99_VERSION_COMPATIBLE(1, 13, 0)
#error Please, update Metalang99 to v1.13.0 or later.
#if !ML99_VERSION_COMPATIBLE(1, 13, 1)
#error Please, update Metalang99 to v1.13.1 or later.
#endif

#ifndef DATATYPE99_NO_ALIASES
Expand Down Expand Up @@ -99,7 +99,7 @@ SOFTWARE.

#define DATATYPE99_MAJOR 1
#define DATATYPE99_MINOR 6
#define DATATYPE99_PATCH 0
#define DATATYPE99_PATCH 1

#define DATATYPE99_VERSION_COMPATIBLE(x, y, z) \
(DATATYPE99_MAJOR == (x) && \
Expand Down

0 comments on commit 2999631

Please sign in to comment.