Skip to content

Commit

Permalink
Merge pull request #504 from ga-sakamoto/Python_Compile_501
Browse files Browse the repository at this point in the history
[RTCB]idlcompile.shの内容を修正
  • Loading branch information
n-ando committed Jan 10, 2023
2 parents ad6f420 + ef5aa34 commit 46275bd
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#!/bin/sh
IDL_PATH=`rtm-config --rtm-idldir`
RTM_CONFIG="rtm2-config"
if type "rtm-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config"
fi
if type "rtm-config2" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config2"
fi
if type "rtm2-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm2-config"
fi
if test "x$RTM_CONFIG_CMD" = "x" ; then
echo "rtm-config/rtm-config2/rtm2-config command not found."
exit 1
fi
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir`
omniidl -bpython -I$IDL_PATH idl/MyService.idl
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#!/bin/sh
IDL_PATH=`rtm-config --rtm-idldir`
RTM_CONFIG="rtm2-config"
if type "rtm-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config"
fi
if type "rtm-config2" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config2"
fi
if type "rtm2-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm2-config"
fi
if test "x$RTM_CONFIG_CMD" = "x" ; then
echo "rtm-config/rtm-config2/rtm2-config command not found."
exit 1
fi
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir`
omniidl -bpython -I$IDL_PATH idl/MyService.idl
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#!/bin/sh
IDL_PATH=`rtm-config --rtm-idldir`
RTM_CONFIG="rtm2-config"
if type "rtm-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config"
fi
if type "rtm-config2" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config2"
fi
if type "rtm2-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm2-config"
fi
if test "x$RTM_CONFIG_CMD" = "x" ; then
echo "rtm-config/rtm-config2/rtm2-config command not found."
exit 1
fi
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir`
omniidl -bpython -I$IDL_PATH idl/MyService.idl
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#!/bin/sh
IDL_PATH=`rtm-config --rtm-idldir`
RTM_CONFIG="rtm2-config"
if type "rtm-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config"
fi
if type "rtm-config2" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config2"
fi
if type "rtm2-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm2-config"
fi
if test "x$RTM_CONFIG_CMD" = "x" ; then
echo "rtm-config/rtm-config2/rtm2-config command not found."
exit 1
fi
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir`
omniidl -bpython -I$IDL_PATH idl/MyService.idl
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#!/bin/sh
IDL_PATH=`rtm-config --rtm-idldir`
RTM_CONFIG="rtm2-config"
if type "rtm-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config"
fi
if type "rtm-config2" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config2"
fi
if type "rtm2-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm2-config"
fi
if test "x$RTM_CONFIG_CMD" = "x" ; then
echo "rtm-config/rtm-config2/rtm2-config command not found."
exit 1
fi
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir`
omniidl -bpython -I$IDL_PATH idl/CalibrationService.idl idl/InterfaceDataTypes.idl idl/BasicDataType.idl idl/ExtendedDataTypes.idl
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
#!/bin/sh
IDL_PATH=`rtm-config --rtm-idldir`
omniidl -bpython -I$IDL_PATH #foreach($IdlFile in ${allIdlFileParamBuild})idl/${IdlFile.IdlFile} #end

RTM_CONFIG="rtm2-config"
if type "rtm-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config"
fi
if type "rtm-config2" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm-config2"
fi
if type "rtm2-config" > /dev/null 2>&1; then
RTM_CONFIG_CMD="rtm2-config"
fi
if test "x${dol}RTM_CONFIG_CMD" = "x" ; then
echo "rtm-config/rtm-config2/rtm2-config command not found."
exit 1
fi
IDL_PATH=`${dol}RTM_CONFIG_CMD --rtm-idldir`
omniidl -bpython -I${dol}IDL_PATH #foreach($IdlFile in ${allIdlFileParamBuild})idl/${IdlFile.IdlFile} #end

0 comments on commit 46275bd

Please sign in to comment.