On Fri, 2016-05-20 at 11:58 -0400, Paul Smith wrote:
> This is not nice but it does work...
Gah! The last of my problems can be solved with add_dependencies().
Somehow I didn't see this and was looking through all the target
properties with set_properties() to find a way to add a dependency...
sigh.
Well, if anyone has a simpler way to solve the basic problem
(generating a link map which requires the .o files that will be used to
construct the shared library as input) I'm still interested.
So in makefile-ese I want to do something like this:
mylib.so: $(OBJFILES) linkmap lib1 lib2 lib3
$(CXX) ... -o $@ -Wl,--version-script=linkmap ...
linkmap: $(OBJFILES)
genlinkmap -o $@ $^
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake