Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 1.3 KB

project_internals.md

File metadata and controls

61 lines (46 loc) · 1.3 KB

Project Internals

Build

CMakePresets (from Version 3.20)

  • See CMakePresets.json for GCC, MSVC and Clang configurations
# Generating
cmake --list-presets
cmake --preset=[your_preset]

# Building
cmake --build --list-presets
cmake --build --preset=[your_preset]

# Testing (ONLY supported on gcc)
ctest --preset=gcc_dev_all

Custom Targets

# Run custom target using
cd [folder]
cmake --build . --target [custom_target]

Tools

  • cppcheck_static_analysis
  • doxygen_documentation
  • gcovr_coverage
  • lcov_coverage

Examples

  • run_hybrid_simple_example_linux
  • run_hybrid_simple_example_win
  • run_hybrid_foolib_example_linux
  • run_hybrid_foolib_example_win
  • run_hybrid_externallib_example_linux
  • run_hybrid_externallib_example_win
  • run_hybrid_customtarget_example_linux
  • run_hybrid_customtarget_example_win

Install

Basic Installation steps

  • Install TARGETS
  • Install HEADER FILES
  • Export CONFIG

Test