robot-ya-builder 96458ea3c7 External build system generator release 65 | 11 месяцев назад | |
---|---|---|
.. | ||
include | 2 лет назад | |
src | 2 лет назад | |
test | 1 год назад | |
tool | 1 год назад | |
AUTHORS | 2 лет назад | |
CMakeLists.darwin-arm64.txt | 1 год назад | |
CMakeLists.darwin-x86_64.txt | 1 год назад | |
CMakeLists.linux-aarch64.txt | 1 год назад | |
CMakeLists.linux-x86_64.txt | 1 год назад | |
CMakeLists.txt | 11 месяцев назад | |
CMakeLists.windows-x86_64.txt | 1 год назад | |
COPYING | 2 лет назад | |
ChangeLog | 2 лет назад | |
GOALS.txt | 2 лет назад | |
README.md | 2 лет назад | |
TODO.txt | 2 лет назад | |
UriConfig.h | 2 лет назад | |
ya.make | 1 год назад |
uriparser is a
strictly RFC 3986 compliant
URI parsing and handling library
written in C89 ("ANSI C").
uriparser is cross-platform,
fast,
supports both char
and wchar_t
, and
is licensed under the New BSD license.
To learn more about uriparser, please check out https://uriparser.github.io/.
cmake_minimum_required(VERSION 3.3)
project(hello VERSION 1.0.0)
find_package(uriparser 0.9.2 CONFIG REQUIRED char wchar_t)
add_executable(hello
hello.c
)
target_link_libraries(hello PUBLIC uriparser::uriparser)
# mkdir build
# cd build
# cmake -DCMAKE_BUILD_TYPE=Release .. # see CMakeLists.txt for options
# make
# make test
# make install
# rm -f CMakeCache.txt ; cmake -LH . | grep -B1 ':.*=' | sed 's,--,,'
// Build shared libraries (rather than static ones)
BUILD_SHARED_LIBS:BOOL=ON
// Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
// Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
// Path to qhelpgenerator program (default: auto-detect)
QHG_LOCATION:FILEPATH=
// Build code supporting data type 'char'
URIPARSER_BUILD_CHAR:BOOL=ON
// Build API documentation (requires Doxygen, Graphviz, and (optional) Qt's qhelpgenerator)
URIPARSER_BUILD_DOCS:BOOL=ON
// Build test suite (requires GTest >=1.8.0)
URIPARSER_BUILD_TESTS:BOOL=ON
// Build tools (e.g. CLI "uriparse")
URIPARSER_BUILD_TOOLS:BOOL=ON
// Build code supporting data type 'wchar_t'
URIPARSER_BUILD_WCHAR_T:BOOL=ON
// Enable installation of uriparser
URIPARSER_ENABLE_INSTALL:BOOL=ON
// Use of specific runtime library (/MT /MTd /MD /MDd) with MSVC
URIPARSER_MSVC_RUNTIME:STRING=
// Treat all compiler warnings as errors
URIPARSER_WARNINGS_AS_ERRORS:BOOL=OFF