ptitfred/magrit — pull request #13 by daniperez (2012-03-06 22:19:36+00:00)
Title: Review CMake support in magrit client

Could you test this?

It's working in Fedora but I need the Ubuntu mingw details. Have a look at Windows-mingw-i686.cmake, on top. I need the MINGW_PREFIX and Boost_COMPILER. The former is used to name the compiler itself (e.g.: ${MINGW_PREFIX}-g++ or i686-pc-mingw32-g++ in my case) and the latter is added to the library name (e.g.: libboost_program_options${Boost_COMPILER}-1_46_1.dll.a or libboost_program_options-gcc45-1_46_1.dll.a in my case).

The previous two variables should be enough but it may be the case that you had also to supply the CMAKE_FIND_ROOT_PATH in Ubuntu. I'll be happy enough if it builds in my Fedora and your Ubuntu installations.

With regards to maven, I'm just building for Linux. Let's discuss how we do to build all the platforms (the three of them serially? depending on a env. variable? or platform auto-detect?).