summaryrefslogtreecommitdiffstats
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* [cmake] Quote variable to avoid misleading error if emptySimon Rettberg2024-05-171-2/+2
|
* cmake: Turn modpost errors into warningsSimon Rettberg2024-03-151-0/+1
| | | | | | | | Default changed some time between 6.1 and 6.6. As we build the module for different kernel versions by fetching the kernel sources and not compiling the whole kernel first, modpost always complains aboit missing symbols after compilation. Ignore this as it's expected to happen.
* cmake: Make missing Module.symvers a warningSimon Rettberg2023-06-091-1/+3
| | | | | | | Since on github, we just compile against downloaded sources without having a matching built kernel, a missing Module.symvers breaks the action. While the resulting built kernel module might not be of much use, all we want to know is whether it compiles.
* Cleanup FindKernel cmake macros, add more error checksSimon Rettberg2023-06-072-8/+17
|
* [CMAKE] Fix finding kernel include dir on DebianSimon Rettberg2022-02-091-0/+1
|
* [BUILD] Fix versioning format for Docker tagsManuel Bentele2021-11-302-2/+4
|
* [BUILD] Fix issue in CMake kernel header checkManuel Bentele2021-11-301-3/+4
|
* [BUILD] CheckPatch: Quote variable to avoid error if emptySimon Rettberg2021-10-191-1/+1
| | | | | | | | | | The variable is most likely empty if the according kernel headers directory was deleted. However, as it currently stands, cmake is complaining about too few arguments, which isn't really helpful to the user. Instead, quote the variable to make cmake finish, and have the actual compile process of the kernel module fail, which will yield a much more helpful error message.
* [BUILD] Change CMake search for the existence of Linux headersv3.10.1Manuel Bentele2021-08-261-1/+2
|
* [BUILD] Read version from lightweight (non-annotated) tags, tooManuel Bentele2021-08-251-1/+1
|
* [BUILD] Add check for stdatomic.h supportManuel Bentele2021-06-161-0/+14
|
* [BUILD] Fix build issue if version information (Git tag) is missingManuel Bentele2021-03-172-15/+57
| | | | | | | | | | | | The software version for packaging purposes is consituted from the following rules: - If the version information (from Git tags or the embedded version header file) is available, the version number for the packaging is set to those found version information. - If there isn't any version information available (e.g. missing Git tags), the version number for the packaging is set to '0.0' to represent an unkown version number.
* [BUILD] Enable lint targets if lint programs are foundManuel Bentele2021-03-113-29/+80
|
* [BUILD] Add support in CMake to validate (lint) the source codeManuel Bentele2021-03-042-0/+70
|
* [BUILD] Fix dnbd3-client build, Fix source-only buildSimon Rettberg2020-12-021-1/+1
|
* [BUILD] Include branch and build timestamp in binariesSimon Rettberg2020-12-022-7/+13
|
* [BUILD] remove automatic search of includes for 'libatomic'Manuel Bentele2020-11-231-10/+2Star
| | | | | | This patch removes the automatic search of includes for 'libatomic' since the includes for this library are part of the C11 standard shipped with each compiler.
* [BUILD] update search paths for 'libatomic' to support build on FreeBSDManuel Bentele2020-11-231-2/+5
|
* [BUILD] add CMake find package search to find 'libatomic' automaticallyManuel Bentele2020-11-231-0/+50
|
* [BUILD] increase minimum CMake version to be compliant with CMake 3.19.xManuel Bentele2020-11-231-1/+1
|
* cmake: Add default include dir for fuseSimon Rettberg2020-11-131-1/+1
| | | | | | | Without this, the FindFuse module will silently set the wrong include path for fuse if we don't have pkg-config installed, leading to compile errors. We could either make pkg-config a requirement, or try to fall back to its default path.
* [BUILD] add support to locate build directory out of Git directoryManuel Bentele2020-11-132-5/+9
| | | | | This patch adds support to locate the build directory for generated artifacts out of the original checked out Git source code repository.
* [BUILD] add CMake toolchain files to cross-compile for ppc and aarch64Manuel Bentele2020-11-112-0/+48
|
* [BUILD] add CMake support to build docker images based on ArchlinuxManuel Bentele2020-11-021-5/+5
|
* [BUILD] add CMake support to build docker images based on Ubuntu 20.04Manuel Bentele2020-10-292-0/+45
|
* [BUILD] do not print verbose CMake messages in unsupported CMake versionsv2.3Manuel Bentele2020-10-271-5/+7
|
* [BUILD] fix broken version header packaging for source packagesManuel Bentele2020-10-272-0/+20
|
* Add CMake build requirements check to find libraries and Linux kernel headersManuel Bentele2020-10-273-9/+46
|
* [BUILD] add CMake targets to build binary and source packages with CPackManuel Bentele2020-10-227-66/+137
| | | | | | | | | | | This patch adds the following CMake targets - package - source to build bundeled packages. Those packages contain either all built binary artifacts or all source files for source code distribution. Both CMake targets are available in Release build configuration.
* [BUILD] add option to build the dnbd3-server with afl-fuzz supportManuel Bentele2020-10-201-0/+24
| | | | | The afl-fuzz support for the dnbd3-server requires an AFL C compiler like afl-gcc and can be enabled with the CMake option DNBD3_SERVER_AFL.
* [BUILD] do not stop Release build if repository is dirty but warnManuel Bentele2020-10-201-4/+9
|
* [BUILD] set build type and stop Release build if repository is dirtyManuel Bentele2020-10-192-4/+19
|
* [BUILD] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-164-0/+111
| | | | | | | | | | This change restructures the source code directories, separates shared form non-shared application code and adds CMake dependencies. These dependencies allow the tracking of changes and trigger a rebuild of those build targets where changed files are involved. WARNING: Note that the support of the DNBD3_SERVER_AFL build option is not supported yet. Thus, the option should be never turned on.
* cmake: Fixed wrong package name in the Fuse find moduleManuel Bentele2020-08-191-2/+2
|
* cmake: Try to get include directories right (per target)Simon Rettberg2019-10-071-22/+159
|
* [SERVER] PoC RPC interfaceschwaers2015-04-301-0/+59
|
* [FUSE] Integrate into cmake build processSimon Rettberg2015-04-241-0/+30