Hi Jerry, a year have passed and things have changed, that means that we now have good reasons to move our build system from the old-(dirty)-configure script to CMake.
I would like to thank you for share your branch as I use it as a reference to create the desired CMake rules and options. I will share more details about this change in a few minutes. For now Monkey+CMake is available on GIT master (and when Monkey v1.6 be released). thanks again! On Sat, Apr 12, 2014 at 10:57 AM, Aditya Jain <[email protected]> wrote: > Hi Rajika, > > Rajika Kumarasiri <[email protected]> wrote: > > >>CMake is just a wrapper around make. >> > > Can you provide relevant sources to back your claim? > AFAIK cmake is independent from make and is written in c++. > > Regards > Aditya Jain > > >>Rajika >> >> >>On Sat, Apr 12, 2014 at 11:08 AM, Eduardo Silva <[email protected]> >>wrote: >> >>> HI Jerry, >>> >>> thanks for take some time to make this changes. >>> >>> The main reason because we use a custom (and dirty) build system is >>to >>> address the following needs: >>> >>> - Server must be able to run from the same directory if it was not >>> installed (configure ; make ; bin/monkey) >>> - Server must be able to be installed on different paths >>> - Configure script must provide different options for building and >>> installing >>> - Not all embedded environments have CMake on it, we try to keep low >>> system dependencies. >>> >>> CMake offers a clean way to generate Makefiles and of course address >>many >>> things that we do in our configure script, the thing is that we >>cannot >>> depend on CMake at this moment due to Embedded needs. >>> >>> What we have in mind is to re-write the configure script mostly to >>make it >>> more clean, easy to read and easy to extend, the current script have >>been >>> expanded for years and of course it needs a we-write. >>> >>> So for short at the moment we cannot depend on CMake as it add a >>system >>> dependency, anyways we appreciate the effort and the collaboration >>made, >>> >>> thanks for take some time to make this changes. >>> >>> The main reason because we use a custom (and dirty) build system is >>to >>> address the following needs: >>> >>> - Server must be able to run from the same directory if it was not >>> installed (configure ; make ; bin/monkey) >>> - Server must be able to be installed on different paths >>> - Configure script must provide different options for building and >>> installing >>> - Not all embedded environments have CMake on it, we try to keep low >>> system dependencies. >>> >>> CMake offers a clean way to generate Makefiles and of course address >>many >>> things that we do in our configure script, the thing is that we >>cannot >>> depend on CMake at this moment due to Embedded needs. >>> >>> What we have in mind is to re-write the configure script mostly to >>make it >>> more clean, easy to read and easy to extend, the current script have >>been >>> expanded for years... >>> >>> So for short at the moment we cannot depend on CMake, anyways we >>> appreciate the effort. If you want to contribute with the new >>configure >>> script you are welcome, >>> >>> best >>> >>> >>> >>> On Sat, Apr 12, 2014 at 3:44 AM, Jerry Jacobs <[email protected]> >>wrote: >>> >>>> Hello Eduardo, >>>> >>>> Yesterday on IRC I asked how to configure monkey/duda. As a new >>commer I >>>> was really unsatisfied with the build system and the duplicated >>Makefiles >>>> and regexes in the configure script. I don't know if did ever heard >>of >>>> CMake but i'm giving a attempt to let monkey & duda compile >>(out-of-source) >>>> with CMake. >>>> >>>> See my branch: >>>> https://github.com/jerryjacobs/monkey/tree/cmake >>>> >>>> I like to hear about your ideas. >>>> >>>> Kind regards, >>>> Jerry >>>> >>> >>> >>> >>> -- >>> Eduardo Silva >>> http://edsiper.linuxchile.cl >>> http://monkey-project.com >>> >>> _______________________________________________ >>> Monkey mailing list >>> [email protected] >>> http://lists.monkey-project.com/listinfo/monkey >>> >>> >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Monkey mailing list >>[email protected] >>http://lists.monkey-project.com/listinfo/monkey > > -- > Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- Eduardo Silva http://edsiper.linuxchile.cl http://monkey-project.com _______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
