Testing: print full path of script being run

This commit is contained in:
Shahram Najm 2020-07-19 15:18:57 +01:00
parent 1f1a2cbe5b
commit 2e295d5674
3 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# examples/C include file for CMake
set -eax
echo "Script: $0"
proj_dir=@PROJECT_SOURCE_DIR@
data_dir=@PROJECT_BINARY_DIR@/data

View File

@ -1,6 +1,7 @@
# examples/F90 include file for CMake
set -eax
echo "Script: $0"
proj_dir=@PROJECT_SOURCE_DIR@
data_dir=@PROJECT_BINARY_DIR@/data

View File

@ -2,6 +2,7 @@ set -ea
# For CMake
set -x
echo "Script: $0"
proj_dir=@PROJECT_SOURCE_DIR@
build_dir=@PROJECT_BINARY_DIR@