[CMake] Any experiences with ICU genrb?

E. Wing ewmailing at gmail.com
Fri Feb 27 19:30:28 EST 2009


Anybody out there know anything about ICU and genrb? I need to convert a
build system that uses genrb.

As I understand it, genrb is a tool that creates a static library from some
input and you are supposed to link against it.

So I have 2 different questions about this.

1) Using CMake, what is the correct way to set this up?
I assume I will need ADD_CUSTOM_COMMAND with OUTPUT. Do I just use
TARGET_LINK_LIBRARIES with the output that it provides?

2) Is this genrb tool actually cross-platform and going to handle all the
different compilers? For example, will it generate the correct output that
both gcc and Visual Studio can handle? Does it be used to generate Universal
Binaries on the Mac? If neither of these things are true, do people have
alternative ways of accomplishing what genrb does in a truly cross-platform
way?

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090227/01773e1c/attachment.htm>


More information about the CMake mailing list