mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 09:21:19 +00:00
367dae44b2
- Added preliminary Code Coverage tests for AES, ARC4, Base64, MPI, SHA-family, MD-family and HMAC-SHA-family.
16 lines
430 B
CMake
16 lines
430 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
project(POLARSSL C)
|
|
|
|
enable_testing()
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -Wall -W -fprofile-arcs -ftest-coverage -lgcov")
|
|
set(CMAKE_SHARED_LINKER_FLAGS "-fprofile-arcs -ftest-coverage")
|
|
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -Wall -W")
|
|
#set(CMAKE_SHARED_LINKER_FLAGS "")
|
|
|
|
include_directories(include/)
|
|
|
|
add_subdirectory(library)
|
|
add_subdirectory(programs)
|
|
add_subdirectory(tests)
|