Configure project PlanetExplorerGameDemo

This commit is contained in:
2026-01-19 12:16:21 +01:00
parent 0f33a92fa7
commit 5ab497b832
6 changed files with 26 additions and 26 deletions

View File

@@ -25,13 +25,13 @@ fi
# -----------------------------
# Ordner umbenennen
# -----------------------------
if [ ! -d "__Project_Name__" ]; then
echo "Placeholder directory '__Project_Name__' not found."
if [ ! -d "DemoProject" ]; then
echo "Placeholder directory 'DemoProject' not found."
exit 1
fi
echo "Renaming project directory..."
mv "__Project_Name__" "$PROJECT_NAME"
mv "DemoProject" "$PROJECT_NAME"
# -----------------------------
# CMakeLists.txt anpassen
@@ -42,7 +42,7 @@ if [ ! -f "CMakeLists.txt" ]; then
fi
echo "Updating CMakeLists.txt..."
sed -i "s/__Project_Name__/$PROJECT_NAME/g" CMakeLists.txt
sed -i "s/DemoProject/$PROJECT_NAME/g" CMakeLists.txt
# -----------------------------
# globalVars.hpp anpassen
@@ -55,7 +55,7 @@ if [ ! -f "$GLOBAL_VARS_PATH" ]; then
fi
echo "Updating globalVars.hpp..."
sed -i "s/__Project_Name__/$PROJECT_NAME/g" "$GLOBAL_VARS_PATH"
sed -i "s/DemoProject/$PROJECT_NAME/g" "$GLOBAL_VARS_PATH"
# -----------------------------
# Git Submodule aktualisieren