relpipe-lib-protocol → relpipe-lib-common v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sun, 17 Nov 2019 12:14:18 +0100
branchv_0
changeset 17 46151cd23815
parent 16 f94f57855939
child 18 9d566568d37c
relpipe-lib-protocol → relpipe-lib-common
CMakeLists.txt
nbproject/configurations.xml
nbproject/project.xml
src/pkg-config.cpp.pc.in
src/relpipe-lib-common.cpp
src/relpipe-lib-protocol.cpp
--- 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 <http://www.gnu.org/licenses/>.
 
 
-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:
--- 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 @@
   <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
     <df root="." name="0">
       <df name="src">
-        <in>relpipe-lib-protocol.cpp</in>
+        <in>relpipe-lib-common.cpp</in>
       </df>
     </df>
     <logicalFolder name="ExternalFiles"
@@ -82,7 +82,7 @@
               <pElem>build/Debug/src</pElem>
             </incDir>
             <preprocessorList>
-              <Elem>relpipe_lib_protocol_cpp_EXPORTS</Elem>
+              <Elem>relpipe_lib_common_cpp_EXPORTS</Elem>
             </preprocessorList>
           </ccTool>
         </makeTool>
@@ -92,7 +92,7 @@
           <preBuildFirst>true</preBuildFirst>
         </preBuild>
       </makefileType>
-      <item path="src/relpipe-lib-protocol.cpp" ex="false" tool="1" flavor2="0">
+      <item path="src/relpipe-lib-common.cpp" ex="false" tool="1" flavor2="0">
         <ccTool flags="0">
         </ccTool>
       </item>
--- 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 @@
     <type>org.netbeans.modules.cnd.makeproject</type>
     <configuration>
         <data xmlns="http://www.netbeans.org/ns/make-project/1">
-            <name>relpipe-lib-protocol.cpp</name>
+            <name>relpipe-lib-common.cpp</name>
             <c-extensions/>
             <cpp-extensions>cpp</cpp-extensions>
             <header-extensions>h</header-extensions>
--- 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}
--- /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 <http://www.gnu.org/licenses/>.
+ */
+
+/*
+ * 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
--- 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 <http://www.gnu.org/licenses/>.
- */
-
-/*
- * 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