summaryrefslogtreecommitdiff
path: root/examples/api/CMakeLists.txt
blob: 4e4d81ed3fe851dd4e3da2f0e909322012b01548 (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
set(EXAMPLES_API_BIN_DIR ${EXAMPLES_BIN_DIR}/api)

set(CVC4_EXAMPLES_API
  bitvectors
  bitvectors-new
  bitvectors_and_arrays
  bitvectors_and_arrays-new
  combination
  combination-new
  datatypes
  datatypes-new
  extract
  extract-new
  helloworld
  helloworld-new
  linear_arith
  linear_arith-new
  sets
  sets-new
  strings
  strings-new
)

foreach(example ${CVC4_EXAMPLES_API})
  add_executable(${example} EXCLUDE_FROM_ALL ${example}.cpp)
  target_link_libraries(${example} cvc4)
  set_target_properties(${example}
    PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${EXAMPLES_API_BIN_DIR})
  add_dependencies(examples ${example})
endforeach()

if(BUILD_BINDINGS_JAVA)
  add_subdirectory(java)
endif()
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback