diff options
author | Manuel Bentele | 2020-10-22 12:08:34 +0200 |
---|---|---|
committer | Manuel Bentele | 2020-10-22 12:08:34 +0200 |
commit | f9872723efc831827d179c3baf5b9f6c428512c4 (patch) | |
tree | 9662cc3071362570a1f4051f0850b41fbdfff246 /inc | |
parent | [BUILD] add option to build the dnbd3-server with afl-fuzz support (diff) | |
download | dnbd3-f9872723efc831827d179c3baf5b9f6c428512c4.tar.gz dnbd3-f9872723efc831827d179c3baf5b9f6c428512c4.tar.xz dnbd3-f9872723efc831827d179c3baf5b9f6c428512c4.zip |
[BUILD] add CMake targets to build binary and source packages with CPack
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.
Diffstat (limited to 'inc')
-rw-r--r-- | inc/dnbd3/build.h.in | 10 | ||||
-rw-r--r-- | inc/dnbd3/version.h.in | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/inc/dnbd3/build.h.in b/inc/dnbd3/build.h.in new file mode 100644 index 0000000..80537ea --- /dev/null +++ b/inc/dnbd3/build.h.in @@ -0,0 +1,10 @@ +/* + * AUTOGENERATED: DO NOT EDIT THIS FILE + */ + +#ifndef BUILD_H_ +#define BUILD_H_ + +#define DNBD3_BUILD "@DNBD3_BUILD@" + +#endif /* BUILD_H_ */ diff --git a/inc/dnbd3/version.h.in b/inc/dnbd3/version.h.in index cdeed20..94bd2c4 100644 --- a/inc/dnbd3/version.h.in +++ b/inc/dnbd3/version.h.in @@ -1,10 +1,10 @@ /* * AUTOGENERATED: DO NOT EDIT THIS FILE */ + #ifndef VERSION_H_ #define VERSION_H_ -#define DNBD3_BUILD_VERSION "@DNBD3_BUILD_VERSION@" -#define DNBD3_BUILD_TYPE "@DNBD3_BUILD_TYPE@" +#define DNBD3_VERSION "@DNBD3_VERSION@" #endif /* VERSION_H_ */ |