~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to src/PetriEngine/PQL/CMakeLists.txt

  • Committer: srba.jiri at gmail
  • Date: 2020-09-11 14:23:39 UTC
  • mfrom: (213.1.151 interval_tar)
  • Revision ID: srba.jiri@gmail.com-20200911142339-bq9328s1gppw24uj
merged in lp:~verifypn-maintainers/verifypn/interval_tar doing 
- Implements TAR w/o z3, but using a simple integer inference engine for Hoare logic.
 - Replaces LP-Solve with GLPK, reduces computation-time and memory overhead
 - Implements new global properties, translated into CTL formulae.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(CMAKE_INCLUDE_CURRENT_DIR ON)
 
2
 
 
3
find_package(FLEX 2.6.4 REQUIRED)
 
4
find_package(BISON 3.0.5 REQUIRED)
 
5
 
 
6
flex_target(pql_lexer "${CMAKE_CURRENT_SOURCE_DIR}/PQLQueryTokens.l"
 
7
                      "${CMAKE_CURRENT_SOURCE_DIR}/PQLQueryTokens.lexer.cpp")
 
8
 
 
9
bison_target(pql_parser "${CMAKE_CURRENT_SOURCE_DIR}/PQLQueryParser.y"
 
10
                        "${CMAKE_CURRENT_SOURCE_DIR}/PQLQueryParser.parser.cpp")
 
11
 
 
12
add_flex_bison_dependency(pql_lexer pql_parser)
 
13
 
 
14
add_library(PQL ${BISON_pql_parser_OUTPUTS} ${FLEX_pql_lexer_OUTPUTS} Expressions.cpp PQL.cpp Contexts.cpp)
 
15
add_dependencies(PQL glpk-ext)
 
16
target_link_libraries(PQL Simplification Reachability glpk)
 
17