I built the standalone version of CMB, relying on the superbuild of SMTK. My bin directory only contains modelbuilder.conf and the modelbuilder executable.
On the other hand, if I build CMB as part of the superbuild, the pvpython and pvbatch executables are there.
Is there a CMake option to build pvpython in the standalone CMB build too?
Indeed, they are in the ParaView bin dir of the CMB superbuild (superbuild/paraview/build/bin/).
What is the reasoning behind the choice that when CMB is built as part of the superbuild pvpython is copied to the CMB bin directory, while pvpython is not copied when build as a standalone?
The superbuild uses a shared install tree for all projects. ParaView installs it there, then CMB (when built with the superbuild) does so as well. CMB has not logic to do anything with the pvpython or pvbatch executables itself.
I typically set the CMAKE_INSTALL_PREFIX of builds I do outside of the superbuild to match the install directory of the superbuild. This way, I can install CMB to the same directory where all of its dependencies live. Note that CMake provides an install_manifest.txt file inside the build directory that you can use to remove it should you wish to avoid polluting the superbuild install directory with external software.