[Smtk-developers] SMTK's CMB plugins
Ben Boeckel
ben.boeckel at kitware.com
Wed Jan 27 11:34:05 EST 2016
So there's a problem with SMTK building CMB plugins, particularly on OS
X. Plugins need to be installed in each .app bundle, but SMTK doesn't
know what applications are going to be built. Here are three possible
solutions:
- move knowledge of applications to CMB's top-level so that SMTK can
know where to install its bits to.
Cons:
CMB now has options at the wrong scope.
SMTK has intimate knowledge of CMB.
CMB with external SMTK is likely not going to work.
Pros:
smallest change
- CMB does install(FILE) to install SMTK's plugins.
Cons:
Build tree won't work anymore (install_name_dir won't be fixed
up with install(FILE)).
Pros:
No SMTK change.
- Move CMB plugins into CMB itself.
Cons:
Most work.
SMTK now has a bit of a split-brain for its plugins.
Pros:
CMB can do what it needs with the plugins for every platform.
Thoughts?
--Ben
More information about the Smtk-developers
mailing list