aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/DefineCompilerFlags.cmake
AgeCommit message (Collapse)AuthorFilesLines
2024-03-08Rework the coverage buildJakub Jelen1-12/+0
This reworks it to avoid a need to special build type and adding the flags only to the targets that need it (skipping testing wrappers which break with them). It also updates the CodeCoverage module from the following URL: https://github.com/bilke/cmake-modules/blob/master/CodeCoverage.cmake Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-08-25Implement code coverage collectionJakub Jelen1-0/+12
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2020-03-30cmake: Update compile flags for UndefinedSanitizerAndreas Schneider1-2/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-01-25cmake: Add support for MemorySanitizerAndreas Schneider1-0/+12
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-26cmake: Add UndefinedSanitizerAndreas Schneider1-2/+14
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-05cmake: Move CompilerFlags to own fileAndreas Schneider1-0/+25
They need to be included before the project() call. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-08-22cmake: Remove obsolete DefineCompilerFlags.cmakeAndreas Schneider1-84/+0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-02-02build: remove OSX deprecated warnings for opensslAris Adamantiadis1-0/+7
2013-07-25cmake: Only build with _FORTIFY_SOURCE on release builds.Andreas Schneider1-1/+1
2013-07-13cmake: Pass _FORTIFY_SOURCE directly to the preprocessor.Andreas Schneider1-2/+2
2013-02-07cmake: Fix setting -D_FORTIFY_SOURCE=2.Andreas Schneider1-6/+8
2013-01-22BUG 99: Fix string function if no build type is set.Andreas Schneider1-1/+1
2012-12-25cmake: Only set -D_FORTIFY_SOURCE=2 if we have optimizations.Andreas Schneider1-4/+7
2012-10-22cmake: Set GNU compiler flags also for clang.Andreas Schneider1-2/+3
2011-07-29cmake: Make CHECK_C_COMPILER_FLAG_SSP a function.Andreas Schneider1-1/+1
2011-01-02cmake: Fixed msvc posix warnings and unsecure functions.Andreas Schneider1-2/+5
2010-09-10build: Added -pedantic-errors.Andreas Schneider1-1/+1
2010-09-08build: Cleanup DefineCompilerFlags.Andreas Schneider1-49/+57
2010-04-28Change the test file for stackprotector for clangAris Adamantiadis1-1/+2
Now compiles with clang !
2010-02-13Set CFLAGS correctly.Andreas Schneider1-7/+7
2009-10-02Fixed setting of LFS CFLAGS.Andreas Schneider1-2/+4
2009-10-02Fixed LFS support on unix.Andreas Schneider1-25/+25
2009-10-01Remove --as-needed linker flag.Andreas Schneider1-2/+0
2009-09-01Add more warnings to gcc.Andreas Schneider1-1/+2
2009-08-25Link shared libraries with --as-needed by default.Andreas Schneider1-3/+6
2009-08-25Set gcc to c99 standard and enable pedantic.Andreas Schneider1-1/+1
2009-08-11Suppress warning about "deprecated" functions in MSVC.Andreas Schneider1-0/+5
2009-07-21Add compile flags and test for compiler options only if we use gcc.Andreas Schneider1-42/+41
2009-07-21Only add additional warnings if we have a GNU compiler.Andreas Schneider1-1/+3
2009-06-09Fix cmake on BSD.Andreas Schneider1-3/+3
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@773 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02Add Makefiles for the CMake build system.Andreas Schneider1-0/+49
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@203 7dcaeef0-15fb-0310-b436-a5af3365683c