Lines Matching +full:mbed +full:- +full:os
2 project("mbed TLS" C)
4 option(USE_PKCS11_HELPER_LIBRARY "Build mbed TLS with the pkcs11-helper library." OFF)
5 option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF)
7 option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
13 option(ENABLE_TESTING "Build mbed TLS tests." OFF)
15 option(ENABLE_TESTING "Build mbed TLS tests." ON)
18 # Warning string - created as a list for compatibility with CMake 2.8
34 …execute_process(COMMAND ${PERL_EXECUTABLE} ${CMAKE_SOURCE_DIR}/scripts/config.pl -f ${CMAKE_SOURCE…
46 To confirm you want to build with this option, re-run cmake with the \
48 cmake -DUNSAFE_BUILD=ON ")
64 execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
66 …set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings…
68 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wlogical-op")
71 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
73 set(CMAKE_C_FLAGS_RELEASE "-O2")
74 set(CMAKE_C_FLAGS_DEBUG "-O0 -g3")
75 set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
76 set(CMAKE_C_FLAGS_ASAN "-Werror -fsanitize=address -fno-common -O3")
77 …et(CMAKE_C_FLAGS_ASANDBG "-Werror -fsanitize=address -fno-common -O1 -g3 -fno-omit-frame-point…
78 set(CMAKE_C_FLAGS_CHECK "-Werror -Os")
79 set(CMAKE_C_FLAGS_CHECKFULL "${CMAKE_C_FLAGS_CHECK} -Wcast-qual")
83 …_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-…
84 set(CMAKE_C_FLAGS_RELEASE "-O2")
85 set(CMAKE_C_FLAGS_DEBUG "-O0 -g3")
86 set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
87 …set(CMAKE_C_FLAGS_ASAN "-Werror -fsanitize=address -fno-common -fsanitize=undefined -fno-sa…
88 …BG "-Werror -fsanitize=address -fno-common -fsanitize=undefined -fno-sanitize-recover -O1 -g3 …
89 set(CMAKE_C_FLAGS_MEMSAN "-Werror -fsanitize=memory -O3")
90 …C_FLAGS_MEMSANDBG "-Werror -fsanitize=memory -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sibli…
91 set(CMAKE_C_FLAGS_CHECK "-Werror -Os")
100 set(CMAKE_SHARED_LINKER_FLAGS "--coverage")
142 COMMAND tests/ssl-opt.sh
146 COMMAND rm -rf Coverage
147 … COMMAND lcov --capture --initial --directory library/CMakeFiles/mbedtls.dir -o files.info
148 COMMAND lcov --capture --directory library/CMakeFiles/mbedtls.dir -o tests.info
149 COMMAND lcov --add-tracefile files.info --add-tracefile tests.info -o all.info
150 COMMAND lcov --remove all.info -o final.info '*.h'
151 COMMAND gendesc tests/Descriptions.txt -o descriptions
152 …COMMAND genhtml --title "mbed TLS" --description-file descriptions --keep-descriptions --legend --…
153 COMMAND rm -f files.info tests.info all.info final.info descriptions
157 COMMAND sed -i.bak s+/usr/bin/valgrind+`which valgrind`+ DartConfiguration.tcl
158 COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
159 COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null
160 COMMAND rm -f memcheck.log