Closed GoogleCodeExporter closed 8 years ago
Can be done - see the cmake FAQ:
http://www.cmake.org/Wiki/CMake_FAQ#Does_that_mean_I_have_to_build_all_my_librar
y_objects_twice.2C_once_for_shared_and_once_for_static.3F.21__I_don.27t_like_tha
t.21
You need to make sure both static and shared use the same flags (e.g. -fPIC is
a key
one). However, static and shared are often different in other ways too, so this
isn't
really a big priority for the cmake builders.
Not really a huge issue for me yet either.
Original comment by d.ston...@gmail.com
on 18 Dec 2009 at 6:14
Original comment by d.ston...@gmail.com
on 18 Dec 2009 at 6:14
Original issue reported on code.google.com by
d.ston...@gmail.com
on 15 Sep 2009 at 7:14