File tree 3 files changed +20
-5
lines changed
3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -268,17 +268,15 @@ if(WITH_RUST_API)
268
268
269
269
FetchContent_MakeAvailable(Corrosion)
270
270
271
- # find_package(Corrosion REQUIRED)
272
271
corrosion_import_crate(MANIFEST_PATH src/libcprover-rust/Cargo.toml)
273
272
corrosion_set_env_vars(cprover-api-rust CBMC_LIB_DIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY} )
274
273
corrosion_link_libraries(cprover-api-rust cprover-api-cpp)
275
274
install (TARGETS cprover-api-rust RUNTIME DESTINATION lib)
276
- # NOTE: We create a symlink for a name consistent with the name of the
275
+ # NOTE: We want to rename to a name consistent with the name of the
277
276
# rest of the static libraries built as a result of a build. The reason
278
277
# we cannot set the target name directly is that Cargo doesn't support
279
278
# hyphens in names of packages, so it builds the name by default with
280
279
# an underscore.
281
- # file(CREATE_LINK ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libcprover_api_rust.a ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libcprover-api-rust.a SYMBOLIC)
282
280
endif ()
283
281
284
282
include (cmake/packaging.cmake)
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ add_subdirectory(goto-interpreter)
86
86
add_subdirectory (cbmc-sequentialization)
87
87
add_subdirectory (cpp-linter)
88
88
add_subdirectory (catch-framework )
89
- # add_subdirectory(libcprover-cpp)
89
+ add_subdirectory (libcprover-cpp)
90
90
91
91
if (WITH_MEMORY_ANALYZER)
92
92
add_subdirectory (snapshot-harness)
Original file line number Diff line number Diff line change @@ -3,4 +3,21 @@ file(GLOB_RECURSE sources "*.cpp" "*.h")
3
3
# This step builds the API in the form of a statically linked library (libcprover-api-cpp.a)
4
4
add_library (cprover-api-cpp ${sources} )
5
5
generic_includes(cprover-api-cpp)
6
- target_link_libraries (cprover-api-cpp goto-checker goto-programs util langapi ansi-c)
6
+ target_link_libraries (cprover-api-cpp
7
+ goto-checker
8
+ goto-programs
9
+ util
10
+ langapi
11
+ ansi-c
12
+ json-symtab-language
13
+ solvers
14
+ xml
15
+ cpp
16
+ cbmc-lib
17
+ analyses
18
+ statement-list
19
+ linking
20
+ pointer-analysis
21
+ goto-instrument-lib
22
+ goto-analyzer-lib
23
+ goto-cc-lib)
You can’t perform that action at this time.
0 commit comments