Skip to content

Commit

Permalink
Refs #21226: Adjust script to python version 1.2.x
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Jul 22, 2024
1 parent 7383627 commit f1a06cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion fastdds_python_examples/HelloWorldExample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

cmake_minimum_required(VERSION 3.22)
cmake_minimum_required(VERSION 3.16.3)

# SWIG: use standard target name.
if(POLICY CMP0078)
Expand Down
10 changes: 5 additions & 5 deletions utils/scripts/update_generated_code_from_idl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fi
ret_value=0

cd ./fastdds_python/test/types
echo -e "Processing ${yellow}test_complete.idl test_modules.idl${textreset}"
echo "Running: fastddsgen -cdr both -replace -python test_complete.idl test_modules.idl"
fastddsgen -cdr both -replace -python test_complete.idl test_modules.idl
echo -e "Processing ${yellow}test_complete.idl${textreset}"
echo "Running: fastddsgen -replace -python test_complete.idl"
fastddsgen -replace -python test_complete.idl
if [[ $? != 0 ]]; then
ret_value=-1
fi
Expand All @@ -31,8 +31,8 @@ if [[ $ret_value != -1 ]]; then
cd "./fastdds_python_examples/HelloWorldExample"

echo -e "Processing ${yellow}HelloWorld.idl${textreset}"
echo "Running: fastddsgen -cdr both -replace -python HelloWorld.idl"
fastddsgen -cdr both -replace -python HelloWorld.idl
echo "Running: fastddsgen -replace -python HelloWorld.idl"
fastddsgen -replace -python HelloWorld.idl
fi

if [[ $? != 0 ]]; then
Expand Down

0 comments on commit f1a06cf

Please sign in to comment.