-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
362 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
Checks: "*, | ||
-abseil-*, | ||
-altera-*, | ||
-android-*, | ||
-fuchsia-*, | ||
-google-*, | ||
-llvm*, | ||
-modernize-use-trailing-return-type, | ||
-zircon-*, | ||
-readability-else-after-return, | ||
-readability-static-accessed-through-instance, | ||
-readability-avoid-const-params-in-decls, | ||
-cppcoreguidelines-non-private-member-variables-in-classes, | ||
-misc-non-private-member-variables-in-classes, | ||
" | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '' | ||
FormatStyle: none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: 2 | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Python configuration | ||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
|
||
formats: | ||
- epub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Tilen Majerle <tilen.majerle@gmail.com> | ||
Tilen Majerle <tilen@majerle.eu> | ||
Jaedeok Kim <jdeokkim@protonmail.com> | ||
Thomas Devoogdt <thomas@devoogdt.com> | ||
LinJieqiang <517503838@qq.com> | ||
jnz86 <jumpifnotzero@gmail.com> | ||
Junde Yhi <junde@yhi.moe> | ||
Jackistang <tangjia.jackis@qq.com> | ||
Tofik Sonono <tofik@sonono.me> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.. _authors: | ||
|
||
Authors | ||
======= | ||
|
||
List of authors and contributors to the library | ||
|
||
.. literalinclude:: ../../AUTHORS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
sphinx>=3.5.1 | ||
breathe>=4.9.1 | ||
urllib3==1.26.15 | ||
urllib3==1.26.18 | ||
docutils==0.16 | ||
colorama | ||
sphinx_rtd_theme>=1.0.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
cmake_minimum_required(VERSION 3.22) | ||
|
||
# Register core library | ||
add_library(lwrb INTERFACE) | ||
target_sources(lwrb PUBLIC ${CMAKE_CURRENT_LIST_DIR}/src/lwrb/lwrb.c) | ||
target_include_directories(lwrb INTERFACE ${CMAKE_CURRENT_LIST_DIR}/src/include) | ||
add_library(lwrb_ex INTERFACE) | ||
target_sources(lwrb_ex PUBLIC ${CMAKE_CURRENT_LIST_DIR}/src/lwrb/lwrb_ex.c) | ||
target_include_directories(lwrb_ex INTERFACE ${CMAKE_CURRENT_LIST_DIR}/src/include) | ||
|
||
# Register other modules | ||
include(${CMAKE_CURRENT_LIST_DIR}/library.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# | ||
# This file provides set of variables for end user | ||
# and also generates one (or more) libraries, that can be added to the project using target_link_libraries(...) | ||
# | ||
# Before this file is included to the root CMakeLists file (using include() function), user can set some variables: | ||
# | ||
# LWRB_COMPILE_OPTIONS: If defined, it provide compiler options for generated library. | ||
# LWRB_COMPILE_DEFINITIONS: If defined, it provides "-D" definitions to the library build | ||
# | ||
|
||
# Library core sources | ||
set(lwrb_core_SRCS | ||
${CMAKE_CURRENT_LIST_DIR}/src/lwrb/lwrb.c | ||
) | ||
|
||
# Library extended sources | ||
set(lwrb_ex_SRCS | ||
${CMAKE_CURRENT_LIST_DIR}/src/lwrb/lwrb_ex.c | ||
) | ||
|
||
# Setup include directories | ||
set(lwrb_include_DIRS | ||
${CMAKE_CURRENT_LIST_DIR}/src/include | ||
) | ||
|
||
# Register library to the system | ||
add_library(lwrb) | ||
target_sources(lwrb PUBLIC ${lwrb_core_SRCS}) | ||
target_include_directories(lwrb PUBLIC ${lwrb_include_DIRS}) | ||
target_compile_options(lwrb PUBLIC ${LWRB_COMPILE_OPTIONS}) | ||
target_compile_definitions(lwrb PUBLIC ${LWRB_COMPILE_DEFINITIONS}) | ||
|
||
# Register extended part | ||
add_library(lwrb_ex) | ||
target_sources(lwrb_ex PUBLIC ${lwrb_ex_SRCS}) | ||
target_include_directories(lwrb_ex PUBLIC ${lwrb_include_DIRS}) | ||
target_compile_options(lwrb_ex PUBLIC ${LWRB_COMPILE_OPTIONS}) | ||
target_compile_definitions(lwrb_ex PUBLIC ${LWRB_COMPILE_DEFINITIONS} LWRB_EXTENDED) |
Oops, something went wrong.