# $Id: CMakeLists.txt,v 1.3 2005-06-30 13:37:55 king Exp $
#
## Copyright 2003 Sandia Coporation
## Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
## license for use of this work by or on behalf of the U.S. Government.
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that this Notice and any statement
## of authorship are reproduced on all copies.
#

SET(ICET_SRCS
        porting.c
        context.c
        state.c
        diagnostics.c
        tiles.c
        projections.c
        draw.c
        image.c
        buckets.c
)

ADD_LIBRARY(icet ${ICET_SRCS})

IF(NOT ICET_INSTALL_NO_LIBRARIES)
  INSTALL_TARGETS(${ICET_INSTALL_LIB_DIR} icet)
ENDIF(NOT ICET_INSTALL_NO_LIBRARIES)
IF(NOT ICET_INSTALL_NO_DEVELOPMENT)
  INSTALL_FILES(${ICET_INSTALL_INCLUDE_DIR}/GL .h
                ${ICET_SOURCE_DIR}/src/include/GL/ice-t
                ${ICET_SOURCE_DIR}/src/include/GL/ice-t_buckets
                ${ICET_BINARY_DIR}/src/include/GL/ice-t_config)
ENDIF(NOT ICET_INSTALL_NO_DEVELOPMENT)
