From 51e6536901a1be5f7176aae7aff34f91ae42db13 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Fri, 5 Nov 2021 20:06:40 -0400 Subject: [PATCH] Improve the example build-settings.rc. --- build.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 675a9c8..f57ff43 100755 --- a/build.sh +++ b/build.sh @@ -31,7 +31,7 @@ Settings: BIN_NAME is the filename for the binary to compile. - OTHER_DIRS is a list of other subdirectories where files may exist. + OTHER_DIRS (optional) is a list of other subdirectories where files may exist. The filenames (without extension) must not be the same as in any other folder (since this script places all o files in the same directory). Each directory must be free of spaces since it is iterated based on spaces. @@ -48,10 +48,11 @@ Settings: executable and DIST_FILES if any. Example build-settings.rc: -SRC_PATH="$REPO_PATH/src" -IN_FILES="Application ApplicationDelegate IrrlichtEventReceiver main SaveFileDialog" -BIN_NAME=my_program -OTHER_DIRS="extlib" + SRC_PATH="$REPO_PATH/src" + IN_FILES="Application ApplicationDelegate IrrlichtEventReceiver main SaveFileDialog" + BIN_NAME=my_program + #OTHER_DIRS="extlib" + #DIST_FILES="media" With the correct use of a build-settings.rc file, This script is identical in every project.