> Not for the moment, but if you want to write a plugin, it's welcome.

I'm writing one (maven-cpp-plugin). It's been... interesting. The include
files make everything fun. We've taken to inventing a .car file (C archive)
to handle dependencies. This is just a .tar.gz file with a specific layout
(libs and includes in specific spots).

It's been working pretty well with Win32 and Linux, though we are still
tinkering. Handling cross-platform has is own philosophical challenges. For
example, do you try to write a single task that detects the platform and
invokes the correct compiler, or you give the control to the user through
properties and then only build if you detect you are running on a platform
that matches the compiler (that is, if the compiler property is set to
Microsoft's Visual Studio compiler and you are running on Linux, what do you
do)? So far, we have gone with the latter strategy and skip builds where the
properties don't match the platform.

The whole thing uses the Ant tasks for C, which are a bit wiggy in some
ways, particularly when using Win32 compilers.

When it gets a bit more stable, I'll make it available, probably on
http://maven-plugins.sourceforge.net/ (where I have commit permission,
though I've not used it yet).

Wordman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to