[sldev] CMake status update

Bryan O'Sullivan bos at lindenlab.com
Wed Feb 20 14:26:07 PST 2008


Robin Cornelius wrote:

> The last source drop has left off the new file UnixInstall, as its a new
> file i assume it just got forgot to be added under version control :-)

Yes, I noticed and fixed it this morning.  Sorry about that.  I've
attached the missing file, and it will show up in public SVN in due course.

	<b
-------------- next part --------------
if (NOT ${viewer_VERSION})
  MESSAGE(FATAL_ERROR "Viewer version not known!")
endif (NOT ${viewer_VERSION})

set(INSTALL OFF CACHE BOOL
    "Generate install target.")

if (INSTALL)
  set(INSTALL_PREFIX /usr CACHE PATH
      "Top-level installation directory.")

  if (EXISTS /lib64)
    set(_LIB lib64)
  else (EXISTS /lib64)
    set(_LIB lib)
  endif (EXISTS /lib64)

  set(INSTALL_LIBRARY_DIR ${INSTALL_PREFIX}/${_LIB} CACHE PATH
      "Installation directory for read-only shared files.")

  set(INSTALL_SHARE_DIR ${INSTALL_PREFIX}/share CACHE PATH
      "Installation directory for read-only shared files.")

  set(APP_BINARY_DIR ${INSTALL_LIBRARY_DIR}/secondlife-${viewer_VERSION}
      CACHE PATH
      "Installation directory for binaries.")

  set(APP_SHARE_DIR ${INSTALL_SHARE_DIR}/secondlife-${viewer_VERSION}
      CACHE PATH
      "Installation directory for read-only data files.")
endif (INSTALL)


More information about the SLDev mailing list