Re: [CMake] question about INSTALL_PROGRAMS vs INSTALL(TARGET

2008-06-09 Thread Alexander Neundorf
On Monday 09 June 2008, Simon Warfield wrote: > I am using cmake 2.6. > I notice a difference in behaviour between > INSTALL_PROGRAMS(/bin FILES CreateTriangleModel ) > and > INSTALL(TARGETS CreateTriangleModel RUNTIME DESTINATION bin ) > > In the case of INSTALL_PROGRAMS the build tree binary and

[CMake] question about INSTALL_PROGRAMS vs INSTALL(TARGET

2008-06-09 Thread Simon Warfield
I am using cmake 2.6. I notice a difference in behaviour between INSTALL_PROGRAMS(/bin FILES CreateTriangleModel ) and INSTALL(TARGETS CreateTriangleModel RUNTIME DESTINATION bin ) In the case of INSTALL_PROGRAMS the build tree binary and the installed binary are linked with the full path of t