Archived

This forum has been archived. Please start a new discussion on GitHub.

ice/c++ with cmake?

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 ;)

Comments

  • Hi Alex
    do you have written any macros for CMAKE? If can you send me an email (muffmolch@gmx.de). one of our studenst is writing his diploma thesis and has to inegrate ICE at our sofware package wich uses CMAKE... so this would help a lot
  • 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.
  • Alex,

    I'm interested in your patched Doxygen. It's not in your SVN, is it? I couldn't find it there.
    my email: smuemail at gmail.com

    Thanks!
  • 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, alex
  • ummmm, do you have source code? I mainly work on windows
  • 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,
    Roger