2007/3/19, Philip Lowman <[EMAIL PROTECTED]>:
I noticed when using ADD_LIBRARY to compile both static and shared
simultaneously that CMake will compile the source code twice once with
-fPIC (for shared build) and once without.
[...]

Is this even possible to do within CMakeLists.txt files without making
source code modifications?


You should browse ML archive for this subject:

http://www.cmake.org/pipermail/cmake/2007-March/013052.html

http://www.cmake.org/pipermail/cmake/2007-March/013143.html

And the FAQ too:
http://www.cmake.org/Wiki/CMake_FAQ#Library_questions

--
Erk
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to