Archived
This forum has been archived. Please start a new discussion on GitHub.
ice/c++ with cmake?
n2503v
in Help Center
is anyone using CMake to compile Ice programs? would you be kind enough to share your slice scripts?
thanks in advance, alex
i'm using c++/linux (even though shouldn't make a difference, in theory
thanks in advance, alex
i'm using c++/linux (even though shouldn't make a difference, in theory
0
Comments
-
Hi,
since my original post, we've been using CMake and Ice in the orca-robotics project on SourceForge.
http://orca-robotics.sf.net
you can get the whole distribution, compile it and see how it all works, but it's probably too much trouble for what it's worth.
Alternatively, you can take a look at the individual CMake files in the web portal of the CVS repository.
http://cvs.sourceforge.net/viewcvs.py/orca-robotics/orca2/config/
take a look at these two files in particular:
FindIce.cmake (only tested in our environment, so it may need some work)
slice2cpp_rules.cmake (generates .cpp files from .ice files)
let me know if something is not clear.
alex
PS. we've also patched Doxygen to work with slice files, let me know if you have interest in that.0 -
you can download it from here:
http://orca-robotics.sf.net/download/doxyorca
we still use it even though the patched version is getting dated. unfortunately, the patch never made it into the official release. this binary is also pretty old, you'll need an older gcc installed for it run.
cheers, alex0 -
It's a few years later than this thread, but you might find this useful:
http://cmake.org/gitweb?p=cmake.git;a=blob_plain;f=Modules/FindIce.cmake;hb=refs/heads/next
Regards,
Roger0
