cppgen-cli 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cppgen/templates/Makefile.j2 +4 -1
- {cppgen_cli-0.1.2.dist-info → cppgen_cli-0.1.3.dist-info}/METADATA +2 -33
- {cppgen_cli-0.1.2.dist-info → cppgen_cli-0.1.3.dist-info}/RECORD +5 -5
- {cppgen_cli-0.1.2.dist-info → cppgen_cli-0.1.3.dist-info}/WHEEL +1 -1
- {cppgen_cli-0.1.2.dist-info → cppgen_cli-0.1.3.dist-info}/entry_points.txt +0 -0
cppgen/templates/Makefile.j2
CHANGED
|
@@ -12,7 +12,10 @@ APP := $(BUILD_DIR)/bin/$(TARGET)
|
|
|
12
12
|
all: build
|
|
13
13
|
|
|
14
14
|
configure:
|
|
15
|
-
cmake -S . -B $(BUILD_DIR)
|
|
15
|
+
cmake -S . -B $(BUILD_DIR) \
|
|
16
|
+
-DCMAKE_C_COMPILER=gcc-14 \
|
|
17
|
+
-DCMAKE_CXX_COMPILER=g++-14 \
|
|
18
|
+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
|
16
19
|
|
|
17
20
|
build: configure
|
|
18
21
|
cmake --build $(BUILD_DIR)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: cppgen-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A lightweight C++ project generator that creates a clean, reusable CMake-based C++ project structure.
|
|
5
5
|
Author-email: Leo Zhang <leotheasianlion@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -444,37 +444,6 @@ Run:
|
|
|
444
444
|
|
|
445
445
|
---
|
|
446
446
|
|
|
447
|
-
# Development Setup
|
|
448
|
-
|
|
449
|
-
Clone the repository:
|
|
450
|
-
|
|
451
|
-
```bash
|
|
452
|
-
git clone https://github.com/<your_username>/cppgen.git
|
|
453
|
-
cd cppgen
|
|
454
|
-
```
|
|
455
|
-
|
|
456
|
-
Install dependencies:
|
|
457
|
-
|
|
458
|
-
```bash
|
|
459
|
-
uv sync
|
|
460
|
-
```
|
|
461
|
-
|
|
462
|
-
Run locally:
|
|
463
|
-
|
|
464
|
-
```bash
|
|
465
|
-
uv run cppgen init example_project
|
|
466
|
-
```
|
|
467
|
-
|
|
468
|
-
---
|
|
469
|
-
|
|
470
|
-
# Dependencies
|
|
471
|
-
|
|
472
|
-
- Python 3.10+
|
|
473
|
-
- Typer
|
|
474
|
-
- Jinja2
|
|
475
|
-
|
|
476
|
-
---
|
|
477
|
-
|
|
478
447
|
# Why cppgen?
|
|
479
448
|
|
|
480
449
|
Starting a C++ project usually requires repeating the same setup:
|
|
@@ -2,11 +2,11 @@ cppgen/__init__.py,sha256=6BUOibG8l0DeDl4JLE9sIRFi-m2ADpzeY4Dy13w6BbM,70
|
|
|
2
2
|
cppgen/cli.py,sha256=msOEFtFr_2iUSnrP80y8ojIfQP_1dAytqhSypPI4a28,5427
|
|
3
3
|
cppgen/templates/.gitignore.j2,sha256=2gjQ69t5Z3oIZQSsji8Ts4mlp0_0C2ortNDzMaITaFY,191
|
|
4
4
|
cppgen/templates/CMakeLists.txt.j2,sha256=5QtxL2xSuYjLaUTBsYMdylT9a8zznNx2dOeIzF0jQ5w,962
|
|
5
|
-
cppgen/templates/Makefile.j2,sha256=
|
|
5
|
+
cppgen/templates/Makefile.j2,sha256=YEM_lOivCOJVQiX37RsQhIN4BJs-9PmLYs2RKLZCpfg,592
|
|
6
6
|
cppgen/templates/README.md.j2,sha256=nTIrSq8E1WFmlMRHixG40krhQj-SYAIeMfYnmz--HuM,592
|
|
7
7
|
cppgen/templates/main.cpp.j2,sha256=_4GcKUDy6iBTN0-TTqnZtG47I3I7QgVxvBcQpwOChBw,114
|
|
8
8
|
cppgen/templates/test_main.cpp.j2,sha256=AKfkxL99p7AaeOWebhAodUtg0GNW2WG3yigGwhT5g8U,142
|
|
9
|
-
cppgen_cli-0.1.
|
|
10
|
-
cppgen_cli-0.1.
|
|
11
|
-
cppgen_cli-0.1.
|
|
12
|
-
cppgen_cli-0.1.
|
|
9
|
+
cppgen_cli-0.1.3.dist-info/METADATA,sha256=6moCwalz7lcm_NK9tR7QFHdpdiVmCAOjJmQR4Wiv0cA,5890
|
|
10
|
+
cppgen_cli-0.1.3.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
11
|
+
cppgen_cli-0.1.3.dist-info/entry_points.txt,sha256=fwkfGW5lnXOpSvA2JKU8eWqNmxvxm_MANYkfcX4houc,42
|
|
12
|
+
cppgen_cli-0.1.3.dist-info/RECORD,,
|
|
File without changes
|