uriparser
0.9.8
uriparser는 C89("ANSI C")로 작성된 RFC 3986을 엄격하게 준수하는 URI 구문 분석 및 처리 라이브러리입니다. uriparser는 크로스 플랫폼이며 빠르며 char
및 wchar_t
모두 지원하며 New BSD 라이선스에 따라 라이선스가 부여됩니다.
uriparser에 대해 자세히 알아보려면 https://uriparser.github.io/를 확인하세요.
cmake_minimum_required ( VERSION 3.5.0)
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,--,, '
// 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=
// Build shared libraries (rather than static ones)
URIPARSER_SHARED_LIBS:BOOL=ON
// Treat all compiler warnings as errors
URIPARSER_WARNINGS_AS_ERRORS:BOOL=OFF