(Re-)generate .pot file by default, update readme.
This commit is contained in:
parent
94c25552a1
commit
fe7addc0b0
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
/build/
|
/build/
|
||||||
/doc/
|
/doc/
|
||||||
/examples/example99*
|
/examples/example99*
|
||||||
|
/translations/*.pot
|
||||||
/translations/de
|
/translations/de
|
||||||
|
|
|
@ -13,7 +13,7 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
# Project build options.
|
# Project build options.
|
||||||
option(WITH_TESTS "Compile tests." NO)
|
option(WITH_TESTS "Compile tests." NO)
|
||||||
option(GENERATE_POT "Generate / Update .pot file" NO)
|
option(GENERATE_POT "Generate / Update .pot file" YES)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
:uri-clang: https://clang.llvm.org/
|
:uri-clang: https://clang.llvm.org/
|
||||||
:uri-cmake: https://cmake.org/
|
:uri-cmake: https://cmake.org/
|
||||||
:uri-catch: https://github.com/catchorg/Catch2
|
:uri-catch: https://github.com/catchorg/Catch2
|
||||||
|
:uri-gettext: https://www.gnu.org/software/gettext/
|
||||||
|
|
||||||
*{project}* is a search tool for EPUB ebooks.
|
*{project}* is a search tool for EPUB ebooks.
|
||||||
|
|
||||||
|
@ -35,6 +36,7 @@ image::https://repology.org/badge/vertical-allrepos/epubgrep.svg[]
|
||||||
* C\++ compiler with C++17 support (tested: link:{uri-gcc}[GCC] 7/10,
|
* C\++ compiler with C++17 support (tested: link:{uri-gcc}[GCC] 7/10,
|
||||||
link:{uri-clang}[clang] 6/11)
|
link:{uri-clang}[clang] 6/11)
|
||||||
* link:{uri-cmake}[CMake] (at least: 3.12)
|
* link:{uri-cmake}[CMake] (at least: 3.12)
|
||||||
|
* link:{uri-gettext}[gettext] (tested: 0.21)
|
||||||
* Optional
|
* Optional
|
||||||
** Tests: link:{uri-catch}[Catch] (tested: 2.5 / 1.2)
|
** Tests: link:{uri-catch}[Catch] (tested: 2.5 / 1.2)
|
||||||
|
|
||||||
|
@ -63,5 +65,7 @@ cmake --build . -- --jobs=$(nproc --ignore=1)
|
||||||
.CMake options:
|
.CMake options:
|
||||||
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
|
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
|
||||||
* `-DWITH_TESTS=YES` if you want to compile the tests.
|
* `-DWITH_TESTS=YES` if you want to compile the tests.
|
||||||
|
* `-DGENERATE_POT=NO` to not (re-)generate the .pot file.
|
||||||
|
** `-DXGETTEXT_CMD=String` The program to use instead of `xgettext`.
|
||||||
|
|
||||||
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]
|
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user