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
0313bc75
Commit
0313bc75
authored
Sep 16, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use UNISET_CODEGEN for uniset-codegen command
parent
1a4d1f66
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
Makefile.am
Utilities/codegen/tests/Makefile.am
+1
-1
uniset-codegen.in
Utilities/codegen/uniset-codegen.in
+3
-3
configure.ac
configure.ac
+6
-0
libUniSet.include
libUniSet.include
+1
-0
No files found.
Utilities/codegen/tests/Makefile.am
View file @
0313bc75
...
...
@@ -5,7 +5,7 @@ test_SOURCES = TestGen_SK.cc TestGen.cc TestGen-main.cc
GENERATED
=
TestGen_SK.h TestGen_SK.cc TestGen-main.cc
$(GENERATED)
:
../@PACKAGE@-codegen testgen.src.xml ../*.xsl
sh ../uniset-codegen
--local-include
-l
--path
../
--ask
-n
TestGen testgen.src.xml
@
UNISET_CODEGEN@
--local-include
-l
--ask
-n
TestGen testgen.src.xml
clean-local
:
rm
-rf
$(GENERATED)
...
...
Utilities/codegen/uniset-codegen.in
View file @
0313bc75
...
...
@@ -152,6 +152,6 @@ PARAMS=$( echo \
# --stringparam ADD_HH_INC "${add_hh_inc}" \
# generate xxx_SK class
xsltproc
${
PARAMS
}
${
xsltdir
}
/
${
xls_h
}
$xmlfile
>
$uni_h
xsltproc
${
PARAMS
}
${
xsltdir
}
/
${
xls_c
}
$xmlfile
>
$uni_cc
[
-n
"
$no_main
"
]
||
xsltproc
${
PARAMS
}
${
xsltdir
}
/
${
xls_m
}
$xmlfile
>
$uni_main
xsltproc
${
PARAMS
}
${
xsltdir
}
/
${
xls_h
}
$xmlfile
>
$uni_h
||
rm
-f
$uni_h
xsltproc
${
PARAMS
}
${
xsltdir
}
/
${
xls_c
}
$xmlfile
>
$uni_cc
||
rm
-f
$uni_cc
[
-n
"
$no_main
"
]
||
xsltproc
${
PARAMS
}
${
xsltdir
}
/
${
xls_m
}
$xmlfile
>
$uni_main
||
rm
-f
$uni_main
configure.ac
View file @
0313bc75
...
...
@@ -119,6 +119,12 @@ fi
AC_SUBST(DOXYGEN)
AM_CONDITIONAL(HAVE_DOXYGEN, test x$DOXYGEN != x)
if test "x$UNISET_CODEGEN" = x ; then
UNISET_CODEGEN="sh $(top_builddir)/Utilities/codegen/uniset-codegen --path $(top_builddir)/Utilities/codegen/"
fi
AC_SUBST(UNISET_CODEGEN)
echo "UNISET_CODEGEN: $UNISET_CODEGEN"
# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
...
...
libUniSet.include
View file @
0313bc75
...
...
@@ -81,3 +81,4 @@ EXFILE="$EXPORTPATH/extensions/RTUExchange libUniSetRTU.pc"
export
UNISET_EXT_RTU_CFLAGS
=
"
$(
ext_cflags
$EXFILE
)
"
export
UNISET_EXT_RTU_LIBS
=
"
$(
ext_libs
$EXFILE
)
"
export
UNISET_CODEGEN
=
"sh
$EXPORTPATH
/Utilities/codegen/uniset-codegen --path
$EXPORTPATH
/Utilities/codegen"
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