Commit d5adb740 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Added installation of man files.

parent 8eede392
......@@ -98,7 +98,7 @@ CONFIGURE_FILE(${ICET_SOURCE_DIR}/src/include/GL/ice-t_config.h.in
INCLUDE_DIRECTORIES(${ICET_SOURCE_DIR}/src/include)
INCLUDE_DIRECTORIES(${ICET_BINARY_DIR}/src/include)
SUBDIRS(src)
SUBDIRS(src doc)
IF (BUILD_TESTING)
SUBDIRS(tests)
ENDIF (BUILD_TESTING)
......
......@@ -16,8 +16,9 @@
#
#Load compiler settings used for ICE-T.
INCLUDE(${CMAKE_ROOT}/Modules/CMakeImportBuildSettings.cmake)
CMAKE_IMPORT_BUILD_SETTINGS(${ICET_BUILD_SETTINGS_FILE})
#On second thought, why enforce the duplication of compiler flags?
#INCLUDE(${CMAKE_ROOT}/Modules/CMakeImportBuildSettings.cmake)
#CMAKE_IMPORT_BUILD_SETTINGS(${ICET_BUILD_SETTINGS_FILE})
# Add compiler flags needed to use ICE-T.
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ICET_REQUIRED_C_FLAGS}")
......
# Id
#
## 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.
#
SUBDIRS(man)
# Id
#
## 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(MAN3_FILES
man3/icetAddTile.3
man3/icetBoundingBox.3
man3/icetBoundingVertices.3
man3/icetCopyState.3
man3/icetCreateContext.3
man3/icetCreateMPICommunicator.3
man3/icetDestroyContext.3
man3/icetDestroyMPICommunicator.3
man3/icetDiagnostics.3
man3/icetDrawFrame.3
man3/icetDrawFunc.3
man3/icetEnable.3
man3/icetGet.3
man3/icetGetColorBuffer.3
man3/icetGetContext.3
man3/icetGetError.3
man3/icetGetStrategyName.3
man3/icetInputOutputBuffers.3
man3/icetIsEnabled.3
man3/icetResetTiles.3
man3/icetSetContext.3
man3/icetStrategy.3
man3/icetTemplate.3
man3/icetWallTime.3
)
SET(MAN7_FILES
man7/ICE-T.7
)
SET(LINKED_MAN3_FILES
man3/icetBoundingBoxd.3
man3/icetBoundingBoxf.3
man3/icetDisable.3
man3/icetGetBooleanv.3
man3/icetGetDoublev.3
man3/icetGetFloatv.3
man3/icetGetIntegerv.3
man3/icetGetPointerv.3
man3/icetGetDepthBuffer.3)
SET(LINKED_MAN7_FILES
man7/ice-t.7
man7/icet.7)
MACRO(ICET_LINK_MAN3_FILE srcfile destfile)
ADD_CUSTOM_TARGET(man3/${destfile}.3 ALL ln -s ${srcfile}.3 man3/${destfile}.3)
ENDMACRO(ICET_LINK_MAN3_FILE)
MACRO(ICET_LINK_MAN7_FILE srcfile destfile)
ADD_CUSTOM_TARGET(man7/${destfile}.7 ALL ln -s ${srcfile}.7 man7/${destfile}.7)
ENDMACRO(ICET_LINK_MAN7_FILE)
ICET_LINK_MAN3_FILE(icetBoundingBox icetBoundingBoxd)
ICET_LINK_MAN3_FILE(icetBoundingBox icetBoundingBoxf)
ICET_LINK_MAN3_FILE(icetEnable icetDisable)
ICET_LINK_MAN3_FILE(icetGet icetGetBooleanv)
ICET_LINK_MAN3_FILE(icetGet icetGetDoublev)
ICET_LINK_MAN3_FILE(icetGet icetGetFloatv)
ICET_LINK_MAN3_FILE(icetGet icetGetIntegerv)
ICET_LINK_MAN3_FILE(icetGet icetGetPointerv)
ICET_LINK_MAN3_FILE(icetGetColorBuffer icetGetDepthBuffer)
ICET_LINK_MAN7_FILE(ICE-T ice-t)
ICET_LINK_MAN7_FILE(ICE-T icet)
INSTALL_FILES(/man/man3 FILES ${MAN3_FILES} ${LINKED_MAN3_FILES})
INSTALL_FILES(/man/man7 FILES ${MAN7_FILES} ${LINKED_MAN7_FILES})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment