summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
blob: 002a94cb7b5b1a95e5d16ca16f755a292993a4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
###############################################################################
# Top contributors (to current version):
#   Mathias Preiner, Aina Niemetz
#
# This file is part of the cvc5 project.
#
# Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
# in the top-level source directory and their institutional affiliations.
# All rights reserved.  See the file COPYING in the top-level source
# directory for licensing information.
# #############################################################################
#
# The build system configuration.
##

#-----------------------------------------------------------------------------#
# Set variables required for the documentation *.in files

string(TIMESTAMP MAN_DATE "%Y-%m-%d")
set(VERSION CVC4_RELEASE_STRING)

#-----------------------------------------------------------------------------#
# Generate files

configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/SmtEngine.3cvc_template.in
  ${CMAKE_CURRENT_BINARY_DIR}/SmtEngine.3cvc_template)

configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/cvc4.1_template.in
  ${CMAKE_CURRENT_BINARY_DIR}/cvc4.1_template)

configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/cvc4.5.in
  ${CMAKE_CURRENT_BINARY_DIR}/cvc4.5)

configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/libcvc4.3.in
  ${CMAKE_CURRENT_BINARY_DIR}/libcvc4.3)

configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/libcvc4parser.3.in
  ${CMAKE_CURRENT_BINARY_DIR}/libcvc4parser.3)

configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/options.3cvc_template.in
  ${CMAKE_CURRENT_BINARY_DIR}/options.3cvc_template)

#-----------------------------------------------------------------------------#
# Install man pages

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cvc4.1 DESTINATION share/man/man1)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cvc4.5 DESTINATION share/man/man5)
install(FILES
        ${CMAKE_CURRENT_BINARY_DIR}/libcvc4.3
        ${CMAKE_CURRENT_BINARY_DIR}/libcvc4parser.3
        ${CMAKE_CURRENT_BINARY_DIR}/options.3cvc
        ${CMAKE_CURRENT_BINARY_DIR}/SmtEngine.3cvc
        DESTINATION share/man/man3)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback