On Fri, Feb 12, 2010 at 03:46:06PM +0200, mika.raj...@patria.fi wrote:
> One solution might be that I set some cmake variables so that all runtime
> libraries are compiled to the same folder as the exe, but i'd rather keep
> everything in their own directories.
I went down this road -- it's really
Alternatively, you could use the LOCATION_ target properties.
Ryan
On 02/12/2010 07:59 AM, Anatoly Shirokov wrote:
Hi, Mika!
I puts all my shared libraries into
${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}:
set_target_properties(target
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CM
Hi, Mika!
I puts all my shared libraries into ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}:
set_target_properties(target
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}
)
It allows to debug without installation
With Best Regards,
Anatoly.
mika.raj...@patria.fi пишет:
H
Hi
I have multiple cmake projects and some of them generate shared libraries.
Now to run the program in debug mode, without running the install step, i
do ofcourse need the runtime shared libraries when i start the debug.
I have the problem that i can't get the path where the library is, so I
c