On Thursday 23 December 2010, Christopher Fernandez wrote:
> Hi, everyone.
>
> I'm want to compile some Corba idl with CMake (for c++ and java), I
> search on the web but I didn't find much help. I want to know if any of
> you have any guide or can tell me how to do it.

You will probably need add_custom_command() with a command which processes the 
idl-files to C++, put the generated source files in the list of source files 
for your target.
If you have more than just a few idl-files, you will probably want to put this 
add_custom_command() into a macro which you can call with a list of 
idl-files, which are iterated inside the macro.

Alex
_______________________________________________
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

Reply via email to