• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisión4195689a1e1d553d40f64b70af47f18c9bb525c1 (tree)
Tiempo2023-02-26 02:52:17
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

Added version_info.h application common template, added icon

Cambiar Resumen

Diferencia incremental

diff -r 88c6aab5863a -r 4195689a1e1d build_info/file_property.rc
--- a/build_info/file_property.rc Fri Oct 07 18:58:32 2022 +0300
+++ b/build_info/file_property.rc Sat Feb 25 20:52:17 2023 +0300
@@ -21,6 +21,8 @@
2121 # define VER_ORIGINAL_FILE_NAME_STR CT_LIBRARY_NAME ".dll"
2222 #endif
2323
24+MAINICON ICON DISCARDABLE CT_ICON_PATH
25+
2426 // --------- resources of type Version -----------
2527
2628 1 VERSIONINFO
diff -r 88c6aab5863a -r 4195689a1e1d build_info/include/ctools/version_info.h.template
--- a/build_info/include/ctools/version_info.h.template Fri Oct 07 18:58:32 2022 +0300
+++ b/build_info/include/ctools/version_info.h.template Sat Feb 25 20:52:17 2023 +0300
@@ -24,5 +24,7 @@
2424 #define {prefix}_BUILD_REVISION {rev}
2525 #define {prefix}_INTERNAL_BUILD {is_internal}
2626
27+#define {prefix}_ICON_PATH "resources/ctools.ico"
28+
2729 #define {prefix}_K_VERSION\
2830 CT_VER_STR_DOT({prefix}_MAJOR_VERSION, {prefix}_MINOR_VERSION, {prefix}_BUILD_REVISION)
diff -r 88c6aab5863a -r 4195689a1e1d build_info/include/ctools/version_info_app.h.template
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/build_info/include/ctools/version_info_app.h.template Sat Feb 25 20:52:17 2023 +0300
@@ -0,0 +1,30 @@
1+/*
2+ * @author Sergey Gusarov <laborer2008 (at) gmail.com>
3+ * @section LICENSE
4+ * This Source Code Form is subject to the terms of the Mozilla Public
5+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+ *
8+ * @section DESCRIPTION
9+ * This file should be process by C/C++ compilers and MS resource compiler
10+ * Do not edit. Automatically generated file.
11+ * Template for applications only, copy it to the application project
12+ */
13+
14+#pragma once
15+
16+#include <ctools/std/stdbool.h>
17+
18+
19+#define {prefix}_APPLICATION_NAME ""
20+
21+#define {prefix}_MAJOR_VERSION {major_version}
22+#define {prefix}_MINOR_VERSION {minor_version}
23+
24+#define {prefix}_BUILD_REVISION {rev}
25+#define {prefix}_INTERNAL_BUILD {is_internal}
26+
27+#define {prefix}_ICON_PATH ""
28+
29+#define {prefix}_K_VERSION\
30+ CT_VER_STR_DOT({prefix}_MAJOR_VERSION, {prefix}_MINOR_VERSION, {prefix}_BUILD_REVISION)
diff -r 88c6aab5863a -r 4195689a1e1d resources/ctools.ico
Binary file resources/ctools.ico has changed
Show on old repository browser