From 5b82fd0d1f92d34628ec10121cc33dd488bb2d89 Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 14 Nov 2022 18:49:37 +0000 Subject: cpt-build: add -d and -S options for CPT_DEBUG and CPT_NOSTRIP FossilOrigin-Name: bd610e5954071f29f14fe39707863f3f5316b1c4885da8ba9945abb2a63bec84 --- src/cpt-build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cpt-build b/src/cpt-build index 03a33b7..eaf8849 100755 --- a/src/cpt-build +++ b/src/cpt-build @@ -2,9 +2,12 @@ # Build a package parser_definition() { - setup REST help:usage -- "usage: ${0##*/} [-tfy] [--root ROOT] [pkg...]" + setup REST help:usage -- "usage: ${0##*/} [-dfSty] [--root ROOT] [pkg...]" msg -- '' 'Options:' - flag CPT_TEST -t --test export:1 init:@export -- "Run tests (if they exist)" + flag CPT_DEBUG -d --debug export:1 init:@export -- "Keep the build directories after operation" + flag CPT_TEST -t --test export:1 init:@export -- "Run tests (if they exist)" + flag CPT_NOSTRIP -S --nostrip export:1 init:@export -- "Don't strip debug information from the binaries" \ + "(might want to add '-g' to your '\$CFLAGS')" global_options } -- cgit v1.2.3