Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
af855eea
Commit
af855eea
authored
Aug 05, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uniset-codegen: add --path support for set xxls dir
parent
5e87b9aa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
uniset-codegen.in
Utilities/codegen/uniset-codegen.in
+13
-1
No files found.
Utilities/codegen/uniset-codegen.in
View file @
af855eea
...
...
@@ -30,7 +30,7 @@ EOF
}
#parse command line options
TEMP
=
`
getopt
-n
$PROG
-o
h,n:,m:,a,l
-l
help
,name:,main:,no-main,topdir:,alone,ask,local,local-include,add-cc-include,add-hh-include
--
"
$@
"
`
||
exit
1
TEMP
=
`
getopt
-n
$PROG
-o
h,n:,m:,a,l
-l
help
,name:,main:,no-main,topdir:,
path:,
alone,ask,local,local-include,add-cc-include,add-hh-include
--
"
$@
"
`
||
exit
1
eval set
--
"
$TEMP
"
name
=
...
...
@@ -44,6 +44,7 @@ ask=
localinc
=
0
add_cc_inc
=
add_hh_inc
=
xsltpath
=
xls_h
=
"ctl-cpp-h.xsl"
xls_c
=
"ctl-cpp-cc.xsl"
...
...
@@ -98,6 +99,16 @@ while :; do
xsltdir
=
.
;;
--xsltdir
)
shift
xsltdir
=
"
$1
"
;;
--path
)
shift
xsltpath
=
"--path
$1
"
;;
--
)
shift
;
break
;;
*
)
"unrecognized option:
$1
"
...
...
@@ -135,6 +146,7 @@ PARAMS=$( echo \
--stringparam
XML_FILENAME
"
${
fname
}
"
\
--stringparam
CNAME
"
${
name
}
"
\
--stringparam
LOCALINC
"
${
localinc
}
"
\
$xsltpath
\
)
# --stringparam ADD_CC_INC "${add_cc_inc}" \
# --stringparam ADD_HH_INC "${add_hh_inc}" \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment