[CMake] where do libraries go?
Ryan Pavlik
rpavlik at iastate.edu
Fri Feb 12 09:37:27 EST 2010
Alternatively, you could use the LOCATION_<CONFIG> 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}/${CMAKE_BUILD_TYPE}
> )
>
> It allows to debug without installation
>
> With Best Regards,
> Anatoly.
>
> Mika.Rajala at patria.fi пишет:
>> 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
>> could tell the other cmake file to add that library to a search path.
>>
>> 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.
>>
>> Is this possible with cmake?
>>
>> -mika
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University
rpavlik at iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
More information about the CMake
mailing list