Skip to content

Commit 89fe572

Browse files
committed
Add C++ Plus dist utils and change version info.
修改: .gitignore 修改: CMakeLists.txt 新文件: CPPPPKG 修改: ChangeLog 新文件: FILELIST 新文件: cpppdist.py 修改: windows/libcppp-reiconv.rc
1 parent 09f0582 commit 89fe572

File tree

7 files changed

+789
-11
lines changed

7 files changed

+789
-11
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ build/
1616

1717
# Temp tests files.
1818
/tests/data/UTF-8.TXT
19+
20+
# Dist directory and temps
21+
cppp-reiconv-v*
22+
__pycache__

CMakeLists.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Copyright (C) 2023 The C++ Plus Project.
2+
# This file is part of the cppp-reiconv library.
3+
#
4+
# The cppp-reiconv library is free software; you can redistribute it
5+
# and/or modify it under the terms of the GNU Lesser General Public
6+
# License as published by the Free Software Foundation; either version 2.1
7+
# of the License, or (at your option) any later version.
8+
#
9+
# The cppp-reiconv library is distributed in the hope that it will be
10+
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
# Lesser General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU Lesser General Public
15+
# License along with the cppp-reiconv library; see the file COPYING.
16+
# If not, see <https://www.gnu.org/licenses/>.
17+
118
cmake_minimum_required(VERSION 3.12)
219
project(cppp-reiconv VERSION 2.0.0)
320

@@ -36,11 +53,12 @@ include_directories("${output_includedir}")
3653

3754
# Add definitions
3855
if(ENABLE_EXTRA)
56+
message(STATUS "Extra encodings and features enabled.")
3957
add_compile_definitions(ENABLE_EXTRA=1)
4058
endif()
4159

4260
# Add library
43-
cppp_build_library(${PROJECT_NAME} "${srcdir}/lib/iconv.cpp" TRUE TRUE)
61+
cppp_build_library(${PROJECT_NAME} "${srcdir}/lib/iconv.cpp" TRUE TRUE "${srcdir}/windows/libcppp-reiconv.rc")
4462

4563
# Include test suite.
4664
include("tests/tests.cmake")

CPPPPKG

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name" : "cppp-reiconv",
3+
"version" : "2.0.0",
4+
"list_file_path": "FILELIST",
5+
"description": "C++ Plus character set conversion library",
6+
"authors": [
7+
"The C++ Plus Project",
8+
"Bruno Haible",
9+
"ChenPi11",
10+
"Sam Steingold",
11+
"Ben Noordhuis",
12+
"Mike Fulton",
13+
"Daiki Ueno",
14+
"KO Myung-Hun"
15+
],
16+
"webpage": "https://github.com/cppp-project/cppp-reiconv",
17+
"subpackages": {
18+
"build-aux": "build-aux"
19+
},
20+
"license": [
21+
"LGPLv3"
22+
]
23+
}

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2023-07-02 ChenPi11 <wushengwuxi-msctinoulk@outlook.com>
2+
3+
Add C++ Plus dist utils.
4+
15
2023-07-01 ChenPi11 <wushengwuxi-msctinoulk@outlook.com>
26

37
Remove src, srclib, gnulib, po, man, tools.

0 commit comments

Comments
 (0)