2023-07-02 22:42:59 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/nemtrif/utfcpp/archive/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
display-name: utf8cpp
|
2023-10-31 22:16:49 +03:00
|
|
|
|
2023-07-02 22:42:59 +03:00
|
|
|
versions:
|
|
|
|
github: nemtrif/utfcpp
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
cmake.org: '*'
|
|
|
|
darwin:
|
|
|
|
gnu.org/gcc: '*'
|
|
|
|
|
|
|
|
working-directory: build
|
|
|
|
script:
|
|
|
|
- cmake .. $ARGS
|
|
|
|
- make --jobs {{ hw.concurrency }} install
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- -DUTF8_INSTALL:BOOL=ON
|
|
|
|
- -DUTF8_SAMPLES:BOOL=OFF
|
|
|
|
- -DUTF8_TESTS:BOOL=OFF
|
|
|
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
|
|
|
- -DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
|
|
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
|
|
|
- -Wno-dev
|
|
|
|
- -DBUILD_TESTING=OFF
|
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
cmake.org: '*'
|
|
|
|
darwin:
|
|
|
|
gnu.org/gcc: '*'
|
|
|
|
linux:
|
|
|
|
script:
|
|
|
|
- cmake . -DCMAKE_PREFIX_PATH:STRING="test" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
|
|
|
- make
|
|
|
|
- ./utf8_append
|