Skip to content

Commit f1a06cf

Browse files
committed
Refs #21226: Adjust script to python version 1.2.x
Signed-off-by: JesusPoderoso <[email protected]>
1 parent 7383627 commit f1a06cf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

fastdds_python_examples/HelloWorldExample/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
cmake_minimum_required(VERSION 3.22)
2+
cmake_minimum_required(VERSION 3.16.3)
33

44
# SWIG: use standard target name.
55
if(POLICY CMP0078)

utils/scripts/update_generated_code_from_idl.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ fi
1919
ret_value=0
2020

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

3333
echo -e "Processing ${yellow}HelloWorld.idl${textreset}"
34-
echo "Running: fastddsgen -cdr both -replace -python HelloWorld.idl"
35-
fastddsgen -cdr both -replace -python HelloWorld.idl
34+
echo "Running: fastddsgen -replace -python HelloWorld.idl"
35+
fastddsgen -replace -python HelloWorld.idl
3636
fi
3737

3838
if [[ $? != 0 ]]; then

0 commit comments

Comments
 (0)