Skip to content

Commit bca1b20

Browse files
Copy CMakeLists from diffblue/cbmc@f77822b
1 parent 3ca6b93 commit bca1b20

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

src/path-symex/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
file(GLOB_RECURSE sources "*.cpp")
2+
file(GLOB_RECURSE headers "*.h")
3+
add_library(path-symex ${sources} ${headers})
4+
5+
generic_includes(path-symex)
6+
7+
target_link_libraries(path-symex util pointer-analysis)

src/symex/CMakeLists.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
file(GLOB_RECURSE sources "*.cpp")
2+
file(GLOB_RECURSE headers "*.h")
3+
list(REMOVE_ITEM sources
4+
${CMAKE_CURRENT_SOURCE_DIR}/symex_main.cpp
5+
)
6+
add_library(symex-lib ${sources} ${headers})
7+
8+
target_link_libraries(symex-lib
9+
ansi-c
10+
cpp
11+
linking
12+
big-int
13+
goto-programs
14+
analyses
15+
langapi
16+
xml
17+
assembler
18+
solvers
19+
util
20+
goto-symex
21+
pointer-analysis
22+
goto-instrument-lib
23+
path-symex
24+
)
25+
26+
generic_includes(symex-lib)
27+
28+
add_if_library(symex-lib bv_refinement)
29+
add_if_library(symex-lib java_bytecode)
30+
add_if_library(symex-lib specc)
31+
add_if_library(symex-lib php)
32+
33+
add_executable(symex symex_main.cpp)
34+
35+
target_link_libraries(symex symex-lib)

0 commit comments

Comments
 (0)