blob: 9c25e73934e7a739d5f7d7708491fedc394907fe (
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/cvc4cppkind.h"
--kinds-file-prefix "${CMAKE_CURRENT_BINARY_DIR}/cvc/Kind"
DEPENDS
genkinds.py
COMMENT
"Generate Kind.java"
)
|