summaryrefslogtreecommitdiffstats
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Add ThreadSanitizer compile flagsAndreas Schneider2021-01-281-0/+12
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* cmake: Use GNUInstallDirsAndreas Schneider2019-02-201-109/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* gitlab-ci: Add runners and toolchain filesAndreas Schneider2018-10-231-0/+21
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Update AddCMockaTestAndreas Schneider2018-10-231-7/+111
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Add CFLAGS for AddressSanitizer and UndefinedSanitizerAndreas Schneider2018-10-231-0/+24
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Move Compiler flags to new fileAndreas Schneider2018-10-232-7/+13
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Remove obsolete DefineCompilerFlags.cmakeAndreas Schneider2018-10-231-64/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Improve checks for compiler flagsAndreas Schneider2018-10-232-7/+50
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Update CMake defaultsAndreas Schneider2018-10-231-12/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Do not check for LFS supportAndreas Schneider2017-04-061-29/+0
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12694 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* cmake: Set strict aliasing and strict overflow checks.Andreas Schneider2014-09-011-0/+4
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Add #define __APPLE_USE_RFC_3542 to CFLAGSJakub Hrozek2014-08-151-0/+4
| | | | | | | | | | | | Unless __APPLE_USE_RFC_3542 is defined on OSX, constants from RFC 3542 such as IPV6_RECVPKTINFO are not usable. The patch adds the #define unconditionally -- on other platforms, the constant is harmless. Signed-off-by: Jakub Hrozek <jakub.hrozek@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Define _GNU_SOURCE on one place only.Jakub Hrozek2014-08-151-0/+1
| | | | | | | | | | There were several _GNU_SOURCE definitions scaterred in the build system. This patch always adds -D_GNU_SOURCE to the CFLAGS if building on a UNIX platform. Signed-off-by: Jakub Hrozek <jakub.hrozek@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* cmake: Add more build warnings and errors.Andreas Schneider2014-07-091-2/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* cmake: Add some warnings were we should error out.Andreas Schneider2014-05-261-0/+6
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* cmake: Require cmocka versin 0.4.1.Andreas Schneider2014-05-221-49/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* cmake: Build swrap with _GNU_SOURCE.Andreas Schneider2014-05-211-1/+1
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Fix some typos.Jakub Wilk2014-05-052-2/+2
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10566 Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* cmake: Create the compile command database by default.Andreas Schneider2014-04-071-0/+3
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* cmake: Add cmake config version script.Andreas Schneider2014-01-201-12/+17
|
* cmake: Set _FORTIFY_SOURCE only for optimized builds.Andreas Schneider2013-12-041-3/+3
|
* src: Correctly load symbols on APPLE.Andreas Schneider2013-07-051-0/+4
|
* tests: Add test as cmocka test.Andreas Schneider2013-05-282-0/+72
|
* Fix cmake -D_FORTIFY_SOURCE=2 detection.Andreas Schneider2013-02-071-6/+8
|
* Initial commit.Andreas Schneider2013-02-077-0/+299