|
|
|
|
20
|
|
20
|
|
21
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/")
|
21
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/")
|
22
|
|
22
|
|
23
|
-set( CMAKE_COMPRESS_MAN TRUE CACHE BOOL "Whether or not to compress the man pages for install." )
|
|
|
24
|
-
|
|
|
25
|
-if ( CMAKE_COMPRESS_MAN )
|
|
|
26
|
- set( MANTARGET "slop.1.gz" )
|
|
|
27
|
-else()
|
|
|
28
|
- set( MANTARGET "slop.1" )
|
|
|
29
|
-endif()
|
|
|
30
|
-
|
|
|
31
|
include_directories("${PROJECT_BINARY_DIR}")
|
23
|
include_directories("${PROJECT_BINARY_DIR}")
|
32
|
|
24
|
|
33
|
add_definitions(-DSLOP_VERSION="v${PROJECT_VERSION}")
|
25
|
add_definitions(-DSLOP_VERSION="v${PROJECT_VERSION}")
|
|
|
|
|
123
|
install( TARGETS ${EXECUTABLE_NAME} DESTINATION "${CMAKE_INSTALL_BINDIR}" )
|
115
|
install( TARGETS ${EXECUTABLE_NAME} DESTINATION "${CMAKE_INSTALL_BINDIR}" )
|
124
|
install( TARGETS ${LIBRARY_NAME} DESTINATION "${CMAKE_INSTALL_LIBDIR}" )
|
116
|
install( TARGETS ${LIBRARY_NAME} DESTINATION "${CMAKE_INSTALL_LIBDIR}" )
|
125
|
install( FILES ${CMAKE_SOURCE_DIR}/src/slop.hpp DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" COMPONENT development )
|
117
|
install( FILES ${CMAKE_SOURCE_DIR}/src/slop.hpp DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" COMPONENT development )
|
126
|
-install( FILES "${CMAKE_SOURCE_DIR}/${MANTARGET}" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc )
|
|
|
|
|
118
|
+install( FILES ${CMAKE_SOURCE_DIR}/slop.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc )
|