Remove package sources and host only the expected SHA-256 #3
@@ -65,11 +65,11 @@ Run the root-level `create_project.sh` with:
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```bash
|
```bash
|
||||||
./create_project.sh MyApp ~/dev
|
./create_project.sh MyApp ~/src
|
||||||
```
|
```
|
||||||
This creates:
|
This creates:
|
||||||
```
|
```
|
||||||
~/dev/MyApp/
|
~/src/MyApp/
|
||||||
```
|
```
|
||||||
|
|
||||||
The new directory contains:
|
The new directory contains:
|
||||||
@@ -83,7 +83,7 @@ The new directory contains:
|
|||||||
|
|
||||||
### 3️⃣ Configure the Project
|
### 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:**
|
> ⚠️ **Important Notice:**
|
||||||
> Do **not modify** the root `CMakeLists.txt` file in your project.
|
> Do **not modify** the root `CMakeLists.txt` file in your project.
|
||||||
@@ -168,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 **template’s** update script from the `cpp-build-system` repository root, pointing it at your project path:
|
If you later want to **add back packages** you previously turned off (and which `cleanup.sh` removed), run the **template’s** update script from the `cpp-build-system` repository root, pointing it at your project path:
|
||||||
```bash
|
```bash
|
||||||
# from the cpp-build-system repo root
|
# 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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user