cariad-tech / a_util

Small cross-platform utility library for cplusplus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a_util5 library

Delivered Libraries

This library contains following packages:

  • a_util_concurrency
  • a_util_datetime
  • a_util_filesystem
  • a_util_logging
  • a_util_memory
  • a_util_parser
  • a_util_process
  • a_util_regex
  • a_util_result
  • a_util_strings
  • a_util_system
  • a_util_variant
  • a_util_xml

Changelog

The changelog can be found here

How to build

Build Environment

The libraries are currently built and tested using the following compilers and operating systems:

Windows

  • Visual C++ (x86, x86_64): 14.0

Linux

  • GCC, C++11 (x86_64): 4.8.4
  • GCC, C++14 (x86_64, armv8): 5.4.0

QNX

  • GCC, C++11 (x86): 5.2

Build a_util

  • Use CMake at least in version 3.10.1
  • Choose your branch i.e. "master"
  • Use CMakeLists.txt within the main directory as source directory
  • Do not forget to set CMAKE_INSTALL_PREFIX
  • Build and install for Debug and RelWithDebInfo
  • Command line for e.g. Windows Visual Studio 2017 vc140

cmake -H -B -G "Visual Studio 15 2017 Win64" -T v140 -DCMAKE_INSTALL_PREFIX= -Da_util_cmake_enable_integrated_tests=ON -DGTEST_LIBRARY=/lib/gtest.lib -DGTEST_INCLUDE_DIR=/include -DGTEST_MAIN_LIBRARY=/lib/gtest_main.lib -DDOXYGEN_EXECUTABLE=/doxygen.exe -DDOXYGEN_DOT_EXECUTABLE=/dot.exe

Optional requirements

a_util_cmake_enable_documentation ON/OFF choose wether a documentation is created or not dependency to a valid doxygen executable needed (see http://www.doxygen.nl/)
a_util_cmake_enable_integrated_tests ON/OFF choose wether the tests where build while building the libraries or not dependency to a valid gtest package needed (see https://github.com/google/googletest)

License Information

a_util Library - License

The a_util Library is delivered under the MPL - Mozilla Public License - Version 2.0

Used software license information

The a_util library is delivered with 3rdparty dependencies. See 3rdparty Software we are very glad to use.

About

Small cross-platform utility library for cplusplus

License:Mozilla Public License 2.0


Languages

Language:C++ 90.9%Language:CMake 6.7%Language:C 2.4%