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 /src/client/client.c | |
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 'src/client/client.c')
-rw-r--r-- | src/client/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/client.c b/src/client/client.c index 69cc00f..e433160 100644 --- a/src/client/client.c +++ b/src/client/client.c @@ -644,7 +644,7 @@ static int dnbd3_daemon_send(int argc, char **argv) static void dnbd3_print_help(char *argv_0) { - printf( "Version: %s\n", DNBD3_BUILD_VERSION ); + printf( "Version: %s\n", DNBD3_VERSION ); printf( "\nUsage: %s\n" "\t-h <host> -i <image name> [-r <rid>] -d <device> [-a <KB>] || -c -d <device>\n\n", argv_0 ); printf( "Start the DNBD3 client.\n" ); @@ -666,6 +666,6 @@ static void dnbd3_print_help(char *argv_0) void dnbd3_print_version() { - printf( "dnbd3-client version: %s\n", DNBD3_BUILD_VERSION ); + printf( "dnbd3-client version: %s\n", DNBD3_VERSION ); exit( EXIT_SUCCESS ); } |