From f9872723efc831827d179c3baf5b9f6c428512c4 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Thu, 22 Oct 2020 12:08:34 +0200 Subject: [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. --- inc/dnbd3/build.h.in | 10 ++++++++++ inc/dnbd3/version.h.in | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 inc/dnbd3/build.h.in (limited to 'inc') 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_ */ -- cgit v1.2.3-55-g7522