Remove package sources and host only the expected SHA-256 (#3)
Some checks failed
sgraves/cpp-build-system_mac/pipeline/head There was a failure building this commit
sgraves/cpp-build-system/pipeline/head There was a failure building this commit
sgraves/cpp-build-system_msys2/pipeline/head There was a failure building this commit

Reviewed-on: #3
Co-authored-by: Scott E. Graves <scott.e.graves@protonmail.com>
Co-committed-by: Scott E. Graves <scott.e.graves@protonmail.com>
This commit was merged in pull request #3.
This commit is contained in:
2025-12-13 09:35:33 -06:00
committed by sgraves76
parent 5cf3d1661b
commit ba5f4d1625
73 changed files with 496 additions and 209 deletions

View File

@@ -36,13 +36,26 @@ All builds are orchestrated through project scripts — **direct CMake invocatio
## 🚀 Getting Started
### 1⃣ Clone the Build System
### 1⃣ Clone the Build System and Grab Packages
```bash
git clone https://git.fifthgrid.com/sgraves/cpp-build-system.git
git clone https://github.com/sgraves76/cpp-build-system.git
cd cpp-build-system
```
Run the root-level `grab_packages.sh`/`grab_packages.cmd`
Example:
```bash
./grab_packages.sh
```
```cmd
grab_packages.cmd
```
This will download and validate all packages currently supported by `cpp-build-system`. They will be placed within the `support/3rd_party/` folder.
---
### 2⃣ Create a New Project
@@ -52,11 +65,11 @@ Run the root-level `create_project.sh` with:
Example:
```bash
./create_project.sh MyApp ~/dev
./create_project.sh MyApp ~/src
```
This creates:
```
~/dev/MyApp/
~/src/MyApp/
```
The new directory contains:
@@ -70,7 +83,7 @@ The new directory contains:
### 3⃣ Configure the Project
In your new project directory (`~/dev/MyApp/`), edit these two files before your first build:
In your new project directory (`~/src/MyApp/`), edit these two files before your first build:
> ⚠️ **Important Notice:**
> Do **not modify** the root `CMakeLists.txt` file in your project.
@@ -155,7 +168,7 @@ Use the provided build wrappers — they take two arguments:
If you later want to **add back packages** you previously turned off (and which `cleanup.sh` removed), run the **templates** update script from the `cpp-build-system` repository root, pointing it at your project path:
```bash
# from the cpp-build-system repo root
./update_project.sh ~/dev/MyApp
./update_project.sh ~/src/MyApp
```
This will **restore all template-managed packages and scripts** (including `cleanup.sh`) into your project so you can re-enable dependencies via `config.sh` and rebuild.