Hi

I have written a Python script that tries to convert OOo's dmake build
system to CMake. Currently I can parse all .mk files in the source
tree and compile the VCL subdirectory. There are some caveats, though.
For all the gory details (including compilation times etc), see this
thread: http://lists.go-oo.org/pipermail/dev-go-oo.org/2009-February/001087.html

I have placed the script to Launchpad so you can try it out for
yourselves. Get it here:
https://code.launchpad.net/~jpakkane/+junk/dmake2cmake Currently it
only creates dynamic libraries that have been defined with SLOFILES.
If you run it on the whole OOo tree, the resulting CMakeLists do not
work.

There are still some problems and open questions:

Library dependencies: the mk files have them with something like
"$(CPPULIB)", does is always reduce to a lib which has been defined
with TARGET=cppu? If not, what is the true value?

There are multiple targets with the same name. Such as target qa in
shell/qa/ and cppu/qa. CMake does not accept two different targets
with the same name. What should be done with these?

Are assignments done with "=" and ":=" equivalent? They seem to be
used interchangeably.

Is there actual interest in changing the build system of OOo? This
seems to have been discussed every now and then but nothing has ever
come out of it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to