Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

WentsingNee/Kerbal

Repository files navigation

languageEnglish |

Static BadgeCodacy gradeLicense

Vcpkg VersionNuGet Version

GitHub code size in bytesGitHub test code size in bytes

GitHub last commitGitHub commit activityGitHub commit activityGitHub commit activity

C++ template library with:

  1. more fundamental features,
  2. modern standard library facilities backport to old,
  3. and MORE constexpr!

Install

I) Install via Package Managers

1. Vcpkg

Vcpkg environment is required, seeVcpkg

vcpkg install kerbal
2. NuGet

SeeHome Page of this project

nuget install kerbal

II) Install via Source

  1. clone repository
git clone https://github.com/WentsingNee/Kerbal.gitcd Kerbal
  1. clone git submodules (if you need)
git submodule initgit submodule update
  1. configure by CMake
mkdir buildcmake -S. -B build/ \    -DCMAKE_BUILD_TYPE=Release# the following arguments are optional# the path prefix to install Kerbal    -DCMAKE_INSTALL_PREFIX=`the-path-prefix-you-want-to-install`# default is set to your system path# the package generator(s) enabled during the cpack stage    -DCPACK_GENERATOR=`package-generators-you-want`# default is set to "DEB;STGZ;TGZ;ZIP"# whether install pretty printer files# git submodule of `pretty_printer` is required to be existed    -DKERBAL_INSTALL_PRETTY_PRINTER=True# or False# default value is decided by the existence of `pretty_printer` submodule
  1. install
cd buildcmake --build. --target install

then Kerbal will be installed toCMAKE_INSTALL_PREFIX

  1. generate package (if you need)
cd buildcpack.

Integrate Kerbal In Your CMake Project

find_package(Kerbal REQUIRED)target_link_libraries(        your-targetPRIVATE        Kerbal::kerbal        [Kerbal::kerbal-omp]# maybe required when you have used Kerbal::omp module)

Sub Libraries Overview

LibraryBrief
Kerbal::kerbal
algorithmalgorithm
anystd::any-like facility but backport to C++98, together with C++20 constexpr support
assignstd::initializer_list-like facility for C++98
autonmautonomous containers, having flexible memory (de)allocation like intrusive containers but have no intrusion to value type
bitsetstatic_bitset (likestd::bitset but have more function and constexpr support)
comparecomparators and sequence compare
compatibilitycompatibility macros
configarchitecture, compiler, OS platform, std library environment detection
containerarray,vector,static_vector,list,forward_list,priority_queue ...
functionfunction,function_traits,invoke,invoke_r ...
hashhash support
iteratoriterator support
macromacro utilities
memorymemory management support like allocator, uninitialized algorithms
numericnumeric algorithms
operatorsuse CRTP to simplify operator overload
optionalstd::optional-like facility but backport to C++98
randomrandom number engines and distributions
smathstatic math
testunit test
tmptemplate meta programming facilities
type_traitsC++11<type_traits>-like facilities but backport part to C++98
utilitycompressed_pair,tuple ...
Kerbal::kerbal-coroutine
coroutinecoroutine facilities
Kerbal::kerbal-omp
ompalgoopenMP accelerated algorithms
openmpopenMP facilities and environment detection
Kerbal::kerbal-parallel
parallelparallel facilities

Document

  • Doxygen generated document: clickthis

Thanks

ThinkSpirit Laboratory ofNanjing University of InformationScience and Technology

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2026 Movatter.jp