Browse Source

(Re-)generate .pot file by default, update readme.

main
tastytea 8 months ago
parent
commit
fe7addc0b0
Signed by: tastytea GPG Key ID: CFC39497F1B26E07
  1. 1
      .gitignore
  2. 2
      CMakeLists.txt
  3. 4
      README.adoc

1
.gitignore

@ -1,4 +1,5 @@
/build/
/doc/
/examples/example99*
/translations/*.pot
/translations/de

2
CMakeLists.txt

@ -13,7 +13,7 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
# Project build options.
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_REQUIRED ON)

4
README.adoc

@ -9,6 +9,7 @@
:uri-clang: https://clang.llvm.org/
:uri-cmake: https://cmake.org/
:uri-catch: https://github.com/catchorg/Catch2
:uri-gettext: https://www.gnu.org/software/gettext/
*{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,
link:{uri-clang}[clang] 6/11)
* link:{uri-cmake}[CMake] (at least: 3.12)
* link:{uri-gettext}[gettext] (tested: 0.21)
* Optional
** Tests: link:{uri-catch}[Catch] (tested: 2.5 / 1.2)
@ -63,5 +65,7 @@ cmake --build . -- --jobs=$(nproc --ignore=1)
.CMake options:
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
* `-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[]

Loading…
Cancel
Save