After doing some research it seems that the default makefile generator is
decided at build time, so it's not determined dynamically at runtime like
one would expect.

For whatever reason, the default makefile when building on msys or mingw is
"NMake Makefiles" and if you try to configure a project that uses cmake and
it default to this, you have to pretty much "rm -rf *" and go back and do
it the hard way, i.e.:

$ cmake -G "MSYS Makefiles" ...

Which is a pain to have to remember and takes much longer.

I fixed this by adding an alias to ~/.bash_profile:
alias cmake="/mingw32/bin/cmake -G \"MSYS Makefiles\""

Now I'm only building for i686 right now but I could I could add two and
instead call them "cmake32" and "cmake64" or something like that.

Thanks,
Richard
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to