diff options
author | Timothy Pearson <[email protected]> | 2011-11-27 22:37:19 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-27 22:37:19 -0600 |
commit | a805660cba37d573bd07615cbdb36d3bba11ecc1 (patch) | |
tree | df8f6692bc9d8e82b2a6de9c8035ab71878f27a1 /src/CMakeLists.txt | |
parent | cb997f2b156551f638e497638f91d6e4eb17877a (diff) | |
download | abakus-a805660cba37d573bd07615cbdb36d3bba11ecc1.tar.gz abakus-a805660cba37d573bd07615cbdb36d3bba11ecc1.zip |
Add bison support
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c27a931..36a4204 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,6 +21,7 @@ link_directories( ${TQT_LIBRARY_DIRS} ) +include( ${CMAKE_SOURCE_DIR}/BisonMacros.cmake ) ##### other data ################################ @@ -29,6 +30,8 @@ install( FILES abakusui.rc DESTINATION ${DATA_INSTALL_DIR} ) ##### abakus (executable) ####################### +GENERATE_BISON_FLEX_SOURCES("lexer.ll", "", "parser.yy", "-d") + if( HAVE_MPFR ) set( MPFR_SOURCES "hmath.cpp number.c" ) set( MPFR_LIBRARIES "mpfr gmp" ) |