![cmake install prefix remaints cmake install prefix remaints](http://docplayer.net/docs-images/67/56766316/images/28-1.jpg)
The devel space is useful when you are developing on the packages in your workspace, because then you don't have to invoke the install target each time, which is particularly useful when developing on Python or when running tests.
![cmake install prefix remaints cmake install prefix remaints](https://resources.jetbrains.com/help/img/idea/2021.3/cl_CmakeInstall_Prefix.png)
![cmake install prefix remaints cmake install prefix remaints](https://i.stack.imgur.com/oEvfB.png)
Note you should use either the install space or the devel space, not both at the same time. Sourcing one of these setup.*sh files will overlay this install space onto your environment. Now there should be an install space ( ~/catkin_ws/install), which contains its own setup.*sh files. This will be equivalent to calling ' cd ~/catkin_ws/build & make install'. For instance, you can tell it to make the install target: If you want you can pass any arguments you would normally pass to make to catkin_make. Also in the devel space there will be setup.*sh files generated, which when sourced will prefix your environment with this devel space. However, any generated files such as libraries, executables, or generated code will be placed in the devel space. Any source files, python libraries, scripts or any other static files will remain in the source space. This will build any packages in the source space ( ~/catkin_ws/src) from the build space ( ~/catkin_ws/build).
Cmake install prefix remaints update#
# Update CMakeFiles.txt to reflect any changes to your sources