From a16a7a79da1e10e736f7a350afa7908af0b41bb7 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Fri, 30 Oct 2020 00:38:52 +0700 Subject: [PATCH] fix catch2 tag --- README.md | 18 +++++++++++------- untests/CMakeLists.txt | 3 ++- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 55c7228..398fc1d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # ecs.hpp +> C++17 Entity Component System + [![travis][badge.travis]][travis] [![appveyor][badge.appveyor]][appveyor] [![codecov][badge.codecov]][codecov] @@ -7,9 +9,9 @@ [![license][badge.license]][license] [![paypal][badge.paypal]][paypal] -[badge.travis]: https://img.shields.io/travis/BlackMATov/ecs.hpp/master.svg?logo=travis -[badge.appveyor]: https://img.shields.io/appveyor/ci/BlackMATov/ecs-hpp/master.svg?logo=appveyor -[badge.codecov]: https://img.shields.io/codecov/c/github/BlackMATov/ecs.hpp/master.svg?logo=codecov +[badge.travis]: https://img.shields.io/travis/BlackMATov/ecs.hpp/main.svg?logo=travis +[badge.appveyor]: https://img.shields.io/appveyor/ci/BlackMATov/ecs-hpp/main.svg?logo=appveyor +[badge.codecov]: https://img.shields.io/codecov/c/github/BlackMATov/ecs.hpp/main.svg?logo=codecov [badge.language]: https://img.shields.io/badge/language-C%2B%2B17-yellow.svg [badge.license]: https://img.shields.io/badge/license-MIT-blue.svg [badge.paypal]: https://img.shields.io/badge/donate-PayPal-orange.svg?logo=paypal&colorA=00457C @@ -23,6 +25,12 @@ [ecs]: https://github.com/BlackMATov/ecs.hpp +## Requirements + +- [gcc](https://www.gnu.org/software/gcc/) **>= 7** +- [clang](https://clang.llvm.org/) **>= 5.0** +- [msvc](https://visualstudio.microsoft.com/) **>= 2017** + ## Installation [ecs.hpp][ecs] is a header-only library. All you need to do is copy the headers files from `headers` directory into your project and include them: @@ -150,8 +158,4 @@ world.process_event(update_event{0.1f}); world.process_event(render_event{"main"}); ``` -## API - -> coming soon! - ## [License (MIT)](./LICENSE.md) diff --git a/untests/CMakeLists.txt b/untests/CMakeLists.txt index 35b1ba9..22087b0 100644 --- a/untests/CMakeLists.txt +++ b/untests/CMakeLists.txt @@ -40,7 +40,8 @@ add_test(${PROJECT_NAME} ${PROJECT_NAME}) include(FetchContent) FetchContent_Declare( catchorg_catch2 - GIT_REPOSITORY https://github.com/catchorg/catch2) + GIT_REPOSITORY https://github.com/catchorg/catch2 + GIT_TAG v2.13.2) FetchContent_GetProperties(catchorg_catch2) if(NOT catchorg_catch2_POPULATED)