On 05/10/2011 11:24 AM, Pere Mato Vila wrote:
To my regret, I don't see any easy solution for your concern, but if
the unnecessary rebuilds due to the the RPATH placeholder mechanism
are a serious issue in your project, the above-noted approach can
possibly be adapted to your needs.
'hope
To my regret, I don't see any easy solution for your concern, but if
the unnecessary rebuilds due to the the RPATH placeholder mechanism
are a serious issue in your project, the above-noted approach can
possibly be adapted to your needs.
'hope that helps.
Dear Michael,
Thank-you very
If I understand correctly, it's this second point which causes your
astonishment, but it already happens during the build phase in the
build tree, not just when installing with make install, right?
Yes, this is indeed my astonishment. I understand that for 'normal' projects
this re-link in
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
PROJECT(PREFIX C)
SET(CMAKE_VERBOSE_MAKEFILE ON)
ADD_LIBRARY(f SHARED f.c)
INSTALL(TARGETS f
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
with ${CMAKE_SOURCE_DIR}/f.c containing just void f(void){}.
Are you sure you actually need this RPATH in this library ? In the link
command you posted there are no libraries linked...
You are right, this particular library is the lowest level library and does no
link with any-other, but there are another 85 libraries in the project that
would
On 05/03/2011 11:17 AM, Pere Mato Vila wrote:
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
PROJECT(PREFIX C)
SET(CMAKE_VERBOSE_MAKEFILE ON)
ADD_LIBRARY(f SHARED f.c)
INSTALL(TARGETS f
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
with
On 04/29/2011 03:39 PM, Pere Mato Vila wrote:
Perhaps somebody can give me some hints on this problem I have. I build a
project and install it in path/install with make install. Then I do
change the installation prefix with
cmake -DCMAKE_INSTALL_PREFIX=path/install2 ../root_cmake/
and if
Perhaps somebody can give me some hints on this problem I have. I build a
project and install it in path/install with make install. Then I do change
the installation prefix with
cmake -DCMAKE_INSTALL_PREFIX=path/install2 ../root_cmake/
and if I execute again make install it rebuilds basically
On Friday 29 April 2011, Pere Mato Vila wrote:
Perhaps somebody can give me some hints on this problem I have. I build a
project and install it in path/install with make install. Then I do
change the installation prefix with cmake
-DCMAKE_INSTALL_PREFIX=path/install2 ../root_cmake/
and if I