MantisBT - Insight Software Consortium
View Issue Details
0001798Insight Software Consortiumpublic2005-04-26 13:382006-08-02 06:28
Joey Mukherjee 
Lisa Ice 
lowfeaturealways
assignedwon't fix 
0001798: Build shared/static library from same CMakeLists.txt
The ADD_LIBRARY keyword should allow building a shared and static library at the same time, even if it has to compile it twice. Both aap and scons work like this and it seems intuitive. I would like to define :

ADD_LIBRARY (ant STATIC ${libant_SRCS})
ADD_LIBRARY (ant SHARED ${libant_SRCS})

in my CMakeLists.txt and have it "just work".
No tags attached.
Issue History

Notes
(0004604)
   
2006-08-02 06:28   
Best wishes.
Halamadak!