diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-04-28 18:23:08 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-04-28 18:23:08 +1000 |
commit | 7b6b8c84ffd8e755879960929f5bb45ba45b093e (patch) | |
tree | 0fa108009f9225bdff9f8ee302b956b2c4be5808 | |
parent | e22061961e92ba07b5c8f2519fbd2d118d04b0bf (diff) |
Added default switches to project file
-rw-r--r-- | fltkada.gpr | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/fltkada.gpr b/fltkada.gpr index a0fda95..0b3a80a 100644 --- a/fltkada.gpr +++ b/fltkada.gpr @@ -1,11 +1,24 @@ -project FLTKAda is +library project FLTKAda is + + + for Languages use ("Ada", "C++"); + + for Source_Dirs use ("src"); for Object_Dir use "obj"; - for Library_Name use "fltkada"; for Library_Dir use "lib"; + for Library_Name use "fltkada"; for Library_Kind use "dynamic"; + + + package Compiler is + for Default_Switches("Ada") use ("-gnaty4aAbcefhiklM99nprt"); + for Default_Switches("C++") use ("-Wall","-Wextra"); + end Compiler; + + end FLTKAda; |