Should catkin_make work for package targets?
Should it be possible to do catkin_make PACKAGE
like rosmake PACKAGE
?
If yes, given this simple setup from the tutorials, am I doing something wrong or should I file a bug?
tree src/ src/ ├── beginner_tutorials │ ├── CMakeLists.txt │ ├── include │ ├── msg │ │ └── Num.msg │ ├── package.xml │ ├── scripts │ │ └── talker.py │ ├── src │ │ ├── listener.cpp │ │ └── talker.cpp │ └── srv │ └── AddTwoInts.srv └── CMakeLists.txt -> /opt/ros/groovy/share/catkin/cmake/toplevel.cmake
catkin_make clean Base path: /home/dornhege/rosws_groovy/testing Source space: /home/dornhege/rosws_groovy/testing/src Build space: /home/dornhege/rosws_groovy/testing/build Devel space: /home/dornhege/rosws_groovy/testing/devel Install space: /home/dornhege/rosws_groovy/testing/install #### #### Running command: "make cmake_check_build_system" in "/home/dornhege/rosws_groovy/testing/build" #### #### #### Running command: "make -j12 -l12 clean" in "/home/dornhege/rosws_groovy/testing/build" ####
catkin_make beginner_tutorials Base path: /home/dornhege/rosws_groovy/testing Source space: /home/dornhege/rosws_groovy/testing/src Build space: /home/dornhege/rosws_groovy/testing/build Devel space: /home/dornhege/rosws_groovy/testing/devel Install space: /home/dornhege/rosws_groovy/testing/install #### #### Running command: "make cmake_check_build_system" in "/home/dornhege/rosws_groovy/testing/build" #### #### #### Running command: "make -j12 -l12 beginner_tutorials" in "/home/dornhege/rosws_groovy/testing/build" ####
There is a target beginner_tutorials, otherwise there would be an error, but nothing is built.
Calling the actual target within the package works:
catkin_make talker Base path: /home/dornhege/rosws_groovy/testing Source space: /home/dornhege/rosws_groovy/testing/src Build space: /home/dornhege/rosws_groovy/testing/build Devel space: /home/dornhege/rosws_groovy/testing/devel Install space: /home/dornhege/rosws_groovy/testing/install #### #### Running command: "make cmake_check_build_system" in "/home/dornhege/rosws_groovy/testing/build" #### #### #### Running command: "make -j12 -l12 talker" in "/home/dornhege/rosws_groovy/testing/build" #### [100%] Building CXX object beginner_tutorials/CMakeFiles/talker.dir/src/talker.cpp.o Linking CXX executable /home/dornhege/rosws_groovy/testing/devel/lib/beginner_tutorials/talker [100%] Built target talker
Calling catkin_make shows that there are still things that were not built:
catkin_make Base path: /home/dornhege/rosws_groovy/testing Source space: /home/dornhege/rosws_groovy/testing/src Build space: /home/dornhege/rosws_groovy/testing/build Devel space: /home/dornhege/rosws_groovy/testing/devel Install space: /home/dornhege/rosws_groovy/testing/install #### #### Running command: "make cmake_check_build_system" in "/home/dornhege/rosws_groovy/testing/build" #### #### #### Running command: "make -j12 -l12" in "/home/dornhege/rosws_groovy/testing/build" #### [ 0%] [ 0%] [ 0%] [ 0%] [ 0%] [ 0%] Generating Lisp code from beginner_tutorials/Num.msg Generating Python code from SRV beginner_tutorials/AddTwoInts [ 10%] Generating Lisp code from beginner_tutorials/AddTwoInts.srv Generating C++ code from beginner_tutorials/Num.msg Generating Python from MSG beginner_tutorials/Num Generating C++ code from beginner_tutorials/AddTwoInts.srv [ 20%] Built target talker Building CXX object beginner_tutorials/CMakeFiles/listener.dir/src/listener.cpp.o [ 30%] [ 30%] [ 40%] Built target beginner_tutorials_genlisp Generating Python msg __init__.py for beginner_tutorials Generating Python srv __init__.py for beginner_tutorials [ 80%] Built target beginner_tutorials_genpy [100%] Built target beginner_tutorials_gencpp Linking CXX executable /home/dornhege/rosws_groovy/testing/devel/lib/beginner_tutorials/listener [100%] Built target listener