Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/sources/embedding/build_check_pathnames.gpr
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2025-09-05 12:12:42 +0200
committerBjörn Persson <Bjorn@Rombobjörn.se>2025-09-05 12:12:42 +0200
commit140a63ae7af13b8db25237c387efabd8ba1e2325 (patch)
tree072900b437905b5ee7d4f5c7fc35933e1cb45f22 /testsuite/sources/embedding/build_check_pathnames.gpr
parentb3263dc7119ce5e7da4422bc48877b8b93fc187a (diff)
Added testing of the switch variables.
Diffstat (limited to 'testsuite/sources/embedding/build_check_pathnames.gpr')
-rw-r--r--testsuite/sources/embedding/build_check_pathnames.gpr29
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/sources/embedding/build_check_pathnames.gpr b/testsuite/sources/embedding/build_check_pathnames.gpr
new file mode 100644
index 0000000..735e354
--- /dev/null
+++ b/testsuite/sources/embedding/build_check_pathnames.gpr
@@ -0,0 +1,29 @@
+-- part of Comfignat's testsuite
+-- Copyright 2025 B. Persson, Bjorn@Rombobeorn.se
+--
+-- This material is provided as is, with absolutely no warranty expressed
+-- or implied. Any use is at your own risk.
+--
+-- Permission is hereby granted to use or copy this testsuite
+-- for any purpose, provided the above notices are retained on all copies.
+-- Permission to modify the code and to distribute modified code is granted,
+-- provided the above notices are retained, and a notice that the code was
+-- modified is included with the above copyright notice.
+
+
+with "comfignat.gpr";
+
+standard project Build_Check_Pathnames is
+ for Main use ("check_pathnames");
+ for Object_Dir use Comfignat.Objdir;
+ for Exec_Dir use Comfignat.Stage_Libexecdir;
+
+ Relocatable := external("relocatable_package");
+
+ package Compiler is
+ for Default_Switches ("Ada") use
+ ("-Wall", "-Wextra", "-gnatwa", "-gnatVa",
+ "-gnateDRelocatable=" & Relocatable) &
+ Comfignat.All_Dir_Switches;
+ end Compiler;
+end Build_Check_Pathnames;