[CMake] install(EXPORT ...)

Biddiscombe, John A. biddisco at cscs.ch
Wed Dec 2 04:09:56 EST 2009


The command 

INSTALL(
  TARGETS ${PROJ_LIB_NAME}
  EXPORT  proj-targets
  LIBRARY DESTINATION lib 
  ARCHIVE DESTINATION lib
  RUNTIME DESTINATION bin
)  


Works very nicely, when 'make install' is invoked, is there a way of achieving a similar result which is generated in the build directory - i.e. without doing a make install, just after a normal configure and generate.

Thanks

JB

-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the CMake mailing list