cppgen-cli 0.1.2__tar.gz → 0.1.3__tar.gz
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_cli-0.1.2 → cppgen_cli-0.1.3}/PKG-INFO +2 -33
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/README.md +0 -31
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/pyproject.toml +2 -5
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/templates/Makefile.j2 +4 -1
- cppgen_cli-0.1.2/.vscode/settings.json +0 -3
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/.gitignore +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/.mise.toml +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/__init__.py +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/cli.py +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/templates/.gitignore.j2 +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/templates/CMakeLists.txt.j2 +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/templates/README.md.j2 +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/templates/main.cpp.j2 +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/src/cppgen/templates/test_main.cpp.j2 +0 -0
- {cppgen_cli-0.1.2 → cppgen_cli-0.1.3}/uv.lock +0 -0
|
@@ -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:
|
|
@@ -427,37 +427,6 @@ Run:
|
|
|
427
427
|
|
|
428
428
|
---
|
|
429
429
|
|
|
430
|
-
# Development Setup
|
|
431
|
-
|
|
432
|
-
Clone the repository:
|
|
433
|
-
|
|
434
|
-
```bash
|
|
435
|
-
git clone https://github.com/<your_username>/cppgen.git
|
|
436
|
-
cd cppgen
|
|
437
|
-
```
|
|
438
|
-
|
|
439
|
-
Install dependencies:
|
|
440
|
-
|
|
441
|
-
```bash
|
|
442
|
-
uv sync
|
|
443
|
-
```
|
|
444
|
-
|
|
445
|
-
Run locally:
|
|
446
|
-
|
|
447
|
-
```bash
|
|
448
|
-
uv run cppgen init example_project
|
|
449
|
-
```
|
|
450
|
-
|
|
451
|
-
---
|
|
452
|
-
|
|
453
|
-
# Dependencies
|
|
454
|
-
|
|
455
|
-
- Python 3.10+
|
|
456
|
-
- Typer
|
|
457
|
-
- Jinja2
|
|
458
|
-
|
|
459
|
-
---
|
|
460
|
-
|
|
461
430
|
# Why cppgen?
|
|
462
431
|
|
|
463
432
|
Starting a C++ project usually requires repeating the same setup:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cppgen-cli"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.3"
|
|
4
4
|
description = "A lightweight C++ project generator that creates a clean, reusable CMake-based C++ project structure."
|
|
5
5
|
authors = [{ name = "Leo Zhang", email = "leotheasianlion@gmail.com" }]
|
|
6
6
|
readme = "README.md"
|
|
@@ -33,7 +33,4 @@ requires = ["hatchling"]
|
|
|
33
33
|
build-backend = "hatchling.build"
|
|
34
34
|
|
|
35
35
|
[dependency-groups]
|
|
36
|
-
dev = [
|
|
37
|
-
"build>=1.5.0",
|
|
38
|
-
"twine>=7.0.0",
|
|
39
|
-
]
|
|
36
|
+
dev = ["build>=1.5.0", "twine>=7.0.0"]
|
|
@@ -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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|