Skip to content

Commit

Permalink
Updated termcolor to v2.0. Bumped indicators to v2.1, closes #94
Browse files Browse the repository at this point in the history
  • Loading branch information
p-ranav committed May 3, 2021
1 parent 91ceb5c commit c338b5b
Show file tree
Hide file tree
Showing 5 changed files with 2,237 additions and 233 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ if(DEFINED PROJECT_NAME)
endif()

if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.12")
project(indicators VERSION 2.0.0 LANGUAGES CXX
project(indicators VERSION 2.1.0 LANGUAGES CXX
HOMEPAGE_URL "https://github.com/p-ranav/indicators"
DESCRIPTION "Activity Indicators for Modern C++")
elseif(CMAKE_VERSION VERSION_GREATER_EQUAL "3.9")
project(indicators VERSION 2.0.0 LANGUAGES CXX
project(indicators VERSION 2.1.0 LANGUAGES CXX
DESCRIPTION "Activity Indicators for Modern C++")
else()
project(indicators VERSION 2.0.0 LANGUAGES CXX)
project(indicators VERSION 2.1.0 LANGUAGES CXX)
endif()

if(EXISTS "${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="https://github.com/p-ranav/indicators/blob/master/LICENSE">
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="license"/>
</a>
<img src="https://img.shields.io/badge/version-2.0-blue.svg?cacheSeconds=2592000" alt="version"/>
<img src="https://img.shields.io/badge/version-2.1-blue.svg?cacheSeconds=2592000" alt="version"/>
</p>


Expand Down Expand Up @@ -944,6 +944,16 @@ cmake -DINDICATORS_SAMPLES=ON -DINDICATORS_DEMO=ON ..
make
```

### WinLibs + MinGW

For Windows, if you use WinLibs like I do, the cmake command would look like this:

```console
foo@bar:~$ mkdir build && cd build
foo@bar:~$ cmake -G "MinGW Makefiles" -DCMAKE_CXX_COMPILER="C:/WinLibs/mingw64/bin/g++.exe" -DINDICATORS_SAMPLES=ON -DINDICATORS_DEMO=ON ..
foo@bar:~$ make -j4
```

## Generating Single Header

```bash
Expand Down
Loading

0 comments on commit c338b5b

Please sign in to comment.