Debian Codegraph @

lib/expr/CMakeLists.txt

raw
1 BISON_TARGET(
2 Exparse
3 ${CMAKE_CURRENT_SOURCE_DIR}/exparse.y
4 ${CMAKE_CURRENT_BINARY_DIR}/exparse.c
5 COMPILE_FLAGS "--yacc -Wno-yacc --defines --debug --verbose"
6 )
7
8 add_library(expr STATIC
9 # Header files
10 exgram.h
11 exlib.h
12 exop.h
13 expr.h
14
15 # Source files
16 excc.c
17 excontext.c
18 exdata.c
19 exerror.c
20 exeval.c
21 exexpr.c
22 exopen.c
23 extoken.c
24 extype.c
25 exzero.c
26 exnospace.c
27
28 # Generated files
29 ${BISON_Exparse_OUTPUTS}
30 )
31
32 target_include_directories(expr PRIVATE
33 ..
34 ${CMAKE_CURRENT_SOURCE_DIR}
35 ${CMAKE_CURRENT_BINARY_DIR}/.. # needed to find generated expr/exparse.h
36 ../sfio
37 ../cdt
38 )