Re: [CMake] Building targets for install only ...

2010-01-13 Thread Eric Noulard
2010/1/13 ctrlaltca : > The SCRIPT and CODE signature: > >  install([[SCRIPT ] [CODE ]] [...]) > > The SCRIPT form will invoke the given CMake script files during > installation. If the script file name is a relative path it will be > interpreted with respect to the current source directory. The CO

Re: [CMake] Building targets for install only ...

2010-01-13 Thread ctrlaltca
The SCRIPT and CODE signature: install([[SCRIPT ] [CODE ]] [...]) The SCRIPT form will invoke the given CMake script files during installation. If the script file name is a relative path it will be interpreted with respect to the current source directory. The CODE form will invoke the given CMa

Re: [CMake] Building targets for install only ...

2010-01-13 Thread Eric Noulard
2010/1/13 Dr. Stefan Sablatnög : > Hi everybody, > > > > Does anyone know whether there is a way to build a target only > > if “make install” is called? I tried “add_dependencies(install ), > but > > it complains, that the target install does not exist. > > Is the install target only available in t

[CMake] Building targets for install only ...

2010-01-13 Thread Dr . Stefan Sablatnög
Hi everybody, Does anyone know whether there is a way to build a target only if “make install” is called? I tried “add_dependencies(install ), but it complains, that the target install does not exist. Is the install target only available in the generated makefiles? Thanks and best reg