find_package(catkin REQUIRED ...) sat at top level, so a build without catkin died at configure time, pointing at packages that are present in the tree. What is absent is the <pkg>Config.cmake files only a catkin workspace produces. Standalone names the CMake targets directly; the root CMakeLists adds every dependency before this package, so their include directories arrive through each target's PUBLIC interface. The plugin goes to the top of the build tree in standalone mode. boost::dll loads it by filename and PluginLoaderHelper resolves that against the build directory, so a plugin left in its own subdirectory builds and is then invisible at runtime. The SYSTEM include paths moved from a directory-wide include_directories() onto the target. This package also builds a test target, and a directory-wide path lands on every target in it whether or not that target should see it. sim/ is installed in both modes. The launch files resolve it through $(find dock_pattern_action) under catkin; standalone has no catkin layout, so it goes under the data directory instead.
7.1 KiB
7.1 KiB