8 lines
325 B
CMake
8 lines
325 B
CMake
|
# Test the logic for the PMG formating code
|
||
|
add_cmocka_test(test_pgm
|
||
|
SOURCES test_pgm.c
|
||
|
COMPILE_OPTIONS ${DEFAULT_C_COMPILE_FLAGS}
|
||
|
LINK_LIBRARIES "${CMOCKA_LIBRARIES}")
|
||
|
add_cmocka_test_environment(test_pgm)
|
||
|
target_include_directories(test_pgm PUBLIC "${CMOCKA_INCLUDE_DIRS}")
|