1. Home
  2. Browse
  3. cmocka

cmocka

v1.1.5#3Go to latest

An elegant unit testing framework for C with support for mock objects

Install

Run the following Vcpkg command to install the port.

vcpkg install cmocka

Usage

The package @PORT@:@TARGET_TRIPLET@ provides CMake targets:

find_package(@PORT@ CONFIG REQUIRED)
target_include_directories(main PRIVATE ${CMOCKA_INCLUDE_DIR})
target_link_libraries(main PRIVATE ${CMOCKA_LIBRARIES})
See source

Version

v1.1.5#3

Publication

Supports

All

GitLab

cmocka/cmocka

Subtree

ef91134964

License

Complex license

Definition

Control