On 9/13/07, Juan Sanchez <[EMAIL PROTECTED]> wrote: > The FAQ doesn't mention the trick for loading a shared library from a > static one. They therefore think their objects have to be compiled > twice, even when they are using -fPIC on gcc and want the same compiler > flags. > > http://www.mail-archive.com/[email protected]/msg01890.html
This looks like a horrible GCC specific hack. Why should such a thing be in the FAQ? I would think the FAQ should contain advice that's good CMake practice and works cross-platform with all the compilers. Let's distinguish between "Frequently" Asked Questions and general repositories of tips and tricks tricks. There are other sections of the wiki where you could put a GCC-specific trick. > Could this be updated? http://www.cmake.org/Wiki/CMake_FAQ is a wiki so yes you could personally update it. But I think others should weigh in about whether or not you should. > This FAQ entry is scaring some of my colleagues: > > That means I have to build all my library objects twice, once for shared > and once for static. I don't like that! > > and they are on the prowl for cmake dealbreakers. Well they're actually going to do cross-platform work with compilers other than GCC, they can't rely on GCC behavior to solve all their problems. So dealbreak away. Politically, do they know they actually need MSVC support? Or are they in the "gee we're Unix, why CMake?" stage. There's nothing you can do about the latter unless you have a pressing need or desire for cross-platform support. Cheers, Brandon Van Every _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
