blob: 23147307556011615d984baaddd3975bc804e0b3 (
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
|
#####################
## 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
configure_file(genkinds.py.in genkinds.py)
add_custom_target(
gen-java-kinds
ALL
COMMAND
"${PYTHON_EXECUTABLE}"
"${CMAKE_CURRENT_BINARY_DIR}/genkinds.py"
--kinds-header "${PROJECT_SOURCE_DIR}/src/api/cpp/cvc5_kind.h"
--kinds-file-prefix "${CMAKE_CURRENT_BINARY_DIR}/cvc/Kind"
DEPENDS
"${CMAKE_CURRENT_BINARY_DIR}/genkinds.py"
COMMENT
"Generate Kind.java"
)
|