Commit graph

136 commits

Author SHA1 Message Date
Paul Bakker
27f1caed02 Add option to CMake to disable all tests 2014-04-30 16:31:54 +02:00
Manuel Pégourié-Gonnard
1827a6e77e Add -O1 to check mode (helps some warnings) 2014-03-27 21:10:56 +01:00
Paul Bakker
df5024c0dd Made building of programs optional in CMake 2014-03-26 13:27:51 +01:00
Manuel Pégourié-Gonnard
720375e7ea Add test descriptions for lcov 2014-03-14 08:41:01 +01:00
Manuel Pégourié-Gonnard
61137df560 Add a 'testcov' target 2014-03-14 08:41:01 +01:00
Manuel Pégourié-Gonnard
03893df747 lcov cosmetics 2014-03-14 08:41:01 +01:00
hasufell
7c4a553baf CMake: fix zlib include dir
ZLIB_INCLUDE_DIR was interpreted as a relative path from the
working directory.
2014-03-13 19:25:06 +01:00
hasufell
fcd362989c CMake: respect system cflags
Adding optimization level to CMAKE_C_FLAGS is intrusive and problematic
with policies of various distribution.
However, setting "-O2" in CMAKE_CFLAGS_RELEASE is fine and only
affects release build.
2014-03-13 19:25:06 +01:00
Manuel Pégourié-Gonnard
e8bac683c2 Add -Wunreachable-code to check mode
See eg https://www.imperialviolet.org/2014/02/22/applebug.html
2014-02-24 10:49:27 +01:00
Manuel Pégourié-Gonnard
546d86c8ec Add an 'lcov' target for HTML coverage report 2014-01-31 16:48:03 +01:00
Manuel Pégourié-Gonnard
6529ff0b6a make: add a 'test-ref-configs' target 2014-01-31 15:42:07 +01:00
Manuel Pégourié-Gonnard
469238a9a5 cmake: add 'ASan' build type 2014-01-31 13:29:47 +01:00
Manuel Pégourié-Gonnard
0933d1fe3f cmake: coverage flags for clang too 2014-01-31 13:16:30 +01:00
Manuel Pégourié-Gonnard
8505d50d4b Fix "check" mode warnings 2014-01-23 17:26:36 +01:00
Manuel Pégourié-Gonnard
1b460440af Disable unused-function warning for clang-check 2014-01-22 16:01:44 +01:00
Manuel Pégourié-Gonnard
bd0de9422b Enable cmake tests with Clang too 2014-01-22 12:55:52 +01:00
Paul Bakker
e1e962de91 Position of -Werror is relevant 2013-12-30 19:00:41 +01:00
Paul Bakker
92bc875e0a Support for CLANG compiler in CMakeLists.txt 2013-12-30 17:56:23 +01:00
Paul Bakker
ad0db975bf Added -Werror to Check buildtype 2013-12-30 14:09:27 +01:00
Paul Bakker
76f03118c4 Only compile with -Wmissing-declarations and -Wmissing-prototypes in
library, not tests and programs
2013-11-28 17:20:04 +01:00
Paul Bakker
7d2c0c4eda Added Check and CheckFull options to CMakeLists 2013-11-25 13:30:11 +01:00
Manuel Pégourié-Gonnard
deb7949a22 Fix mistake in 7669f28 (rm limitation in memcheck) 2013-09-13 13:43:43 +02:00
Manuel Pégourié-Gonnard
7669f28421 Add 'memcheck' (valgrind) target to CMake 2013-09-08 20:08:09 +02:00
Paul Bakker
f1ab0ec1ff - Changed default compiler flags to include -O2 2012-10-23 12:12:53 +00:00
Paul Bakker
92eeea4627 - Modified CMakeLists to support zlib 2012-07-03 15:10:33 +00:00
Paul Bakker
b3b4901295 - Fixed duplicate prefix inclusion 2011-12-11 11:28:52 +00:00
Paul Bakker
2015eacd4c - Made CMakeLists.txt more robust on Windows platforms 2011-07-27 16:52:28 +00:00
Paul Bakker
091e2872e4 - Added missing definition of LIB_INSTALL_DIR 2011-07-13 11:45:58 +00:00
Paul Bakker
b06819bb5d - Adapted CMake files for the PKCS#11 support 2011-01-18 16:18:38 +00:00
Paul Bakker
37ca75d6f2 - Added Doxygen source code documentation parts (donated by Fox-IT) 2011-01-06 12:28:03 +00:00
Paul Bakker
ccba9bc42d - Added CMake target "apidoc" for creating Doxygen API documentation 2011-01-05 15:30:32 +00:00
Paul Bakker
547f73d66f - Added install targets to the CMake files 2011-01-05 15:07:54 +00:00
Paul Bakker
1bbeb69e38 - Compile tests before programs 2009-10-04 15:08:01 +00:00
Paul Bakker
396c52f711 - Updated and cleaned CMakeList 2009-07-11 19:54:40 +00:00
Paul Bakker
3bcf28c21f - Added warnings for declarations after statements 2009-07-11 19:16:30 +00:00
Paul Bakker
367dae44b2 - Added CMake makefiles as alternative to regular Makefiles.
- Added preliminary Code Coverage tests for AES, ARC4, Base64, MPI, SHA-family, MD-family and  HMAC-SHA-family.
2009-06-28 21:50:27 +00:00