From: Malcolm N. <m.n...@wa...> - 2008-10-25 08:10:02
|
Tony Reina wrote: > Now that I'm looking at the MSVC file importer code, it occurred to me > that I'd really like to update the .dev file format when we move to > wxDevIDE. In particular, the compiler switches are just a string of > characters (e.g. "000a0001b0000000"). I hate that. It's pretty hard to > know what "a" means or what switch it refers to. > I'm wondering whether we can kill several birds with one stone. What > if we use Bakefile (or CMake) as the new .dev file format? So a > Bakefile will hold the project information (or workspace, or whatever > you want to call it). When we hit "Compile" or "Rebuild All" the > makefile is autogenerated by the Bakefile system. So we still use > makefile, but we let Bakefile generate them. > The advantage is that this is much less code for us to handle (no > makefile generation code). Also, projects are more easily ported to > other OS's and compiler sets (since Bakefile is portable). > -Tony I'm not saying "do it", but I do think that it is worth investigating. I would probably prefer bakefile as opposed to cmake, since this is the "official" wxWidgets way, but whichever way you want to investigate is OK by me. Mal |