On 11/11/2012 16:34, Ruben Van Boxem wrote: >>> I think he means "macro" and "module" files. Usually you distribute >>> >> >> Sounds like they are reinventing autotools. > > Lol, no. >
See the https://github.com/mruby/mruby/blob/master/cmake/modules/IntrospectSystem.cmake example. > > Wrong. Instead of specifying triplets, you point cmake to a compiler: > > cmake -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc > And you have to do that with C++ compiler, RC compiler etc. > And you've got a set of native build files > >> >>> As an additional bonus, there are the "superbuilds": you can easily >>> combine provide a CMake-based meta-build system for CMake and >>> non-CMake-based projects. This way, it would be possible to use the >>> very same CMake build system to build mingw-w64 on Windows, Linux, >>> BSD, etc. Even for cross-compiling. It'd be more or less what I am >>> doing in winstng to build Wt: >>> >> >> Sure, a top level cmake is fine, but please don't shoehorn it into any >> of part mingw-w64 or it's subprojects, it already has an existing build >> system. >> >> The last thing we need is to tell the user "in addition to a shell >> interpreter, you need cmake/jam/waf/ant/msbuild too for this subproject". > > Autotools carry their own dependencies, it just so happens they are > sometimes installed on a linux system. And msbuild idoes not fit in with > your examples: if you have msvc, you have msbuild. Cmake allows the user to > choose his proper build system. Seriously, check out LLVM, they get stuff > like this right. But I'm trying to emancipate the convent here. > By "happen" you mean "required" to a working system right? We have already tried cmake as an experiment a few years ago, it was too rigid. We already use autotools, do we want to add cmake to the requirements list too? All I'm saying is please do not add another layer for the sake of adding.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
