# HG changeset patch # User František Kučera # Date 1573989258 -3600 # Node ID 46151cd23815ef3e58606cc9438997fdae926a77 # Parent f94f5785593908456d0d0a993e1668b7751c71fd relpipe-lib-protocol → relpipe-lib-common diff -r f94f57855939 -r 46151cd23815 CMakeLists.txt --- a/CMakeLists.txt Wed Oct 30 16:47:42 2019 +0100 +++ b/CMakeLists.txt Sun Nov 17 12:14:18 2019 +0100 @@ -17,9 +17,9 @@ # along with this program. If not, see . -set(PROJECT_CODE "relpipe-lib-protocol") -set(PROJECT_TITLE "Relational pipes - lib - Protocol (C++)") -set(PROJECT_DESCRIPTION "C++ header-only common constants and data types") +set(PROJECT_CODE "relpipe-lib-common") +set(PROJECT_TITLE "Relational pipes - lib - Common (C++)") +set(PROJECT_DESCRIPTION "common constants, classes and functions") # The project version should be specified as "cmake -DPROJECT_VERSION=x.y.z" or is derived from current mercurial tag. If current revision has no tag, default version is set: diff -r f94f57855939 -r 46151cd23815 nbproject/configurations.xml --- a/nbproject/configurations.xml Wed Oct 30 16:47:42 2019 +0100 +++ b/nbproject/configurations.xml Sun Nov 17 12:14:18 2019 +0100 @@ -42,7 +42,7 @@ - relpipe-lib-protocol.cpp + relpipe-lib-common.cpp build/Debug/src - relpipe_lib_protocol_cpp_EXPORTS + relpipe_lib_common_cpp_EXPORTS @@ -92,7 +92,7 @@ true - + diff -r f94f57855939 -r 46151cd23815 nbproject/project.xml --- a/nbproject/project.xml Wed Oct 30 16:47:42 2019 +0100 +++ b/nbproject/project.xml Sun Nov 17 12:14:18 2019 +0100 @@ -3,7 +3,7 @@ org.netbeans.modules.cnd.makeproject - relpipe-lib-protocol.cpp + relpipe-lib-common.cpp cpp h diff -r f94f57855939 -r 46151cd23815 src/pkg-config.cpp.pc.in --- a/src/pkg-config.cpp.pc.in Wed Oct 30 16:47:42 2019 +0100 +++ b/src/pkg-config.cpp.pc.in Sun Nov 17 12:14:18 2019 +0100 @@ -6,7 +6,6 @@ Description: @PROJECT_DESCRIPTION@ Version: @PROJECT_VERSION@ -# this is header-only library, so no .so -# Libs: -L${libdir} -l@LIBRARY_FILE@ +Libs: -L${libdir} -l@LIBRARY_FILE@ Cflags: -I${includedir} diff -r f94f57855939 -r 46151cd23815 src/relpipe-lib-common.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/relpipe-lib-common.cpp Sun Nov 17 12:14:18 2019 +0100 @@ -0,0 +1,27 @@ +/** + * Relational pipes (library) + * Copyright © 2018 František Kučera (Frantovo.cz, GlobalCode.info) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the: + * - GNU Lesser General Public License as published by the Free Software Foundation; + * version 3 of the License or (at your option) + * - GNU General Public License as published by the Free Software Foundation; + * version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/* + * The relpipe-lib-protocol.cpp is a header-only C++ library. + * Generated .so file is quite useless and it is not needed to compile this library. + * Compilation just validates that the .h file has no severe bugs. + * In future, the binary might contain some code for testing purposes. + */ +#include "../include/relpipe/protocol/constants.h" \ No newline at end of file diff -r f94f57855939 -r 46151cd23815 src/relpipe-lib-protocol.cpp --- a/src/relpipe-lib-protocol.cpp Wed Oct 30 16:47:42 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -/** - * Relational pipes (library) - * Copyright © 2018 František Kučera (Frantovo.cz, GlobalCode.info) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the: - * - GNU Lesser General Public License as published by the Free Software Foundation; - * version 3 of the License or (at your option) - * - GNU General Public License as published by the Free Software Foundation; - * version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/* - * The relpipe-lib-protocol.cpp is a header-only C++ library. - * Generated .so file is quite useless and it is not needed to compile this library. - * Compilation just validates that the .h file has no severe bugs. - * In future, the binary might contain some code for testing purposes. - */ -#include "../include/relpipe/protocol/constants.h" \ No newline at end of file