summaryrefslogtreecommitdiff
path: root/src/api/java/CMakeLists.txt
blob: 38c12aa5cb566f5912918c4df1db37d12c8d7a48 (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
#####################
## CMakeLists.txt
## Top contributors (to current version):
##   Mudathir Mohamed
## This file is part of the CVC4 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.
##

# create a directory for the cvc package
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cvc")

# Generate cvc/Kind.java
add_custom_target(
  gen-java-kinds
  ALL
  COMMAND
    "${PYTHON_EXECUTABLE}"
    "${CMAKE_CURRENT_LIST_DIR}/genkinds.py"
    --kinds-header "${PROJECT_SOURCE_DIR}/src/api/cpp/cvc5_kind.h"
    --kinds-file-prefix "${CMAKE_CURRENT_BINARY_DIR}/cvc/Kind"
  DEPENDS
    genkinds.py
  COMMENT
    "Generate Kind.java"
)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback