> > > > Yes now it's clear. > You are looking for something like > add_library like command which would produce the OSGi bundle which > is the purpose of your "bundle" macro. > > Yes this is exactly what I'd like to do, but taking Michael remarks into account, I now think it would make more sense to have the dependency the other way around,
So the single add_bundle macro could still add all the required targets, but I will probably end up with 2 targets, one for the library, and one for the zip file. This way the library doesn't need to be rebuild if the manifest file changes. And since the zip target depends on the library target the dependencies are correctly set up. Unless someone has another idea, I am open to any solution/proposal :). -- Met vriendelijke groet, Alexander Broekhuis
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake