[CMake] LIBRARY_OUTPUT_PATH & swig modules
Clinton Stimpson
clinton at elemtech.com
Thu Jul 21 10:49:06 EDT 2005
Hi,
I've got an application where we use LIBRARY_OUTPUT_PATH to make all the
libraries go into one directory.
However, we don't want the swig modules to go there, but to stay in
their respective directories.
How is the best way to do this?
On the other hand, if I let the swig modules follow LIBRARY_OUTPUT_PATH,
the .py and .so file get separated when they aren't supposed to be.
That is because the UseSWIG.cmake file uses CMAKE_CURRENT_BINARY_DIR
instead of LIBRARY_OUTPUT_PATH for where to generate the .py file that
is associated with the .so library.
Thanks,
Clint
More information about the CMake
mailing list