Skip to content

Commit db20524

Browse files
committed
add to vcpkg
1 parent 0357f33 commit db20524

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# Project
33
# ----------------------------------
44
cmake_minimum_required(VERSION 3.17)
5-
project(cpp-kana VERSION 0.0.0.1 LANGUAGES CXX)
5+
project(cpp-kana VERSION 1.0.0.0 LANGUAGES CXX)
66

77
set(CMAKE_CXX_STANDARD 17)
88

99
# ----------------------------------
1010
# Build Options
1111
# ----------------------------------
12-
option(CPP_KANA_BUILD_STATIC "Build static library" ON)
13-
option(CPP_KANA_BUILD_TESTS "Build test cases" ON)
12+
option(CPP_KANA_BUILD_STATIC "Build static library" OFF)
13+
option(CPP_KANA_BUILD_TESTS "Build test cases" OFF)
1414
option(CPP_KANA_INSTALL "Install library" ON)
1515

1616
# ----------------------------------

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ cpp-kana is a lightweight library for converting Japanese kana to romaji and vic
66

77
It is written in C++ and uses a simple algorithm to perform the conversion.
88

9+
## Install
10+
11+
```bash
12+
vcpkg install cpp-kana
13+
```
14+
15+
```cmake
16+
find_package(cpp-kana)
17+
target_link_libraries(${PROJECT_NAME} PRIVATE cpp-kana::cpp-kana)
18+
```
19+
920
## Usage
1021

1122
```c++

0 commit comments

Comments
 (0)