Paul Martz wrote:
So, why are you trying to build directly into the install
prefix? Why
not let the install command do that work? If you really want to do
that, then you should look at RUNTIME_OUTPUT_DIRECTORY,
ARCHIVE_OUTPUT_DIRECTORY, and LIBRARY_OUTPUT_DIRECTORY target
properties.
One thing to keep in mind is that a lot of the people who originally set
this up have moved on and therefore aren't around to answer such questions.
:-)
I _suspect_ we are putting the export stub libraries in ...\lib and the DLLs
in ...\bin to facilitate running out of the build tree. IIRC, before we made
this change, developers would need multiple link directories to get all the
libs, and also multiple directories added to PATH, in order to run out of
their build tree.
Do you have a better way to do this?
Yes, you can set CMAKE_EXECUTABLE_OUTPUT path and CMAKE_LIBRARY_OUTPUT
path in your project. For VTK we set both of these to the same thing.
You end up with .lib stuff in your PATH, but you only need one path to
run out of the build tree. In 2.6 you can separate the .dll from the
.lib with RUNTIME_OUTPUT_DIRECTORY.
-Bill
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org