|
|
@ -30,23 +30,25 @@ install( FILES abakusui.rc DESTINATION ${DATA_INSTALL_DIR} )
|
|
|
|
|
|
|
|
|
|
|
|
##### abakus (executable) #######################
|
|
|
|
##### abakus (executable) #######################
|
|
|
|
|
|
|
|
|
|
|
|
GENERATE_BISON_FLEX_SOURCES("lexer.ll", "", "parser.yy", "-d")
|
|
|
|
GENERATE_BISON_FLEX_SOURCES(${CMAKE_SOURCE_DIR}/src/parser.yy "" ${CMAKE_SOURCE_DIR}/src/lexer.ll "")
|
|
|
|
|
|
|
|
|
|
|
|
if( HAVE_MPFR )
|
|
|
|
if( HAVE_MPFR )
|
|
|
|
set( MPFR_SOURCES "hmath.cpp number.c" )
|
|
|
|
set( MPFR_SOURCES "" )
|
|
|
|
set( MPFR_LIBRARIES "mpfr gmp" )
|
|
|
|
set( MPFR_LIBRARIES "mpfr gmp" )
|
|
|
|
|
|
|
|
else( HAVE_MPFR )
|
|
|
|
|
|
|
|
set( MPFR_SOURCES hmath.cpp number.c )
|
|
|
|
|
|
|
|
set( MPFR_LIBRARIES "" )
|
|
|
|
endif( HAVE_MPFR )
|
|
|
|
endif( HAVE_MPFR )
|
|
|
|
|
|
|
|
|
|
|
|
tde_add_executable( abakus AUTOMOC
|
|
|
|
tde_add_executable( abakus AUTOMOC
|
|
|
|
SOURCES abakus.cpp abakuslistview.cpp
|
|
|
|
SOURCES abakus.cpp abakuslistview.cpp
|
|
|
|
dragsupport.cpp editor.cpp
|
|
|
|
dragsupport.cpp editor.cpp
|
|
|
|
evaluator.cpp function.cpp
|
|
|
|
evaluator.cpp function.cpp
|
|
|
|
lexer_lex.cpp mainwindow.cpp
|
|
|
|
mainwindow.cpp node.cpp
|
|
|
|
node.cpp numerictypes.cpp
|
|
|
|
numerictypes.cpp result.cpp
|
|
|
|
parser_yacc.cpp result.cpp
|
|
|
|
|
|
|
|
resultlistview.cpp resultlistviewtext.cpp
|
|
|
|
resultlistview.cpp resultlistviewtext.cpp
|
|
|
|
rpnmuncher.cpp valuemanager.cpp dcopIface.skel
|
|
|
|
rpnmuncher.cpp valuemanager.cpp dcopIface.skel
|
|
|
|
${MPFR_SOURCES}
|
|
|
|
${BF_SOURCES} ${MPFR_SOURCES}
|
|
|
|
LINK kio-shared tdecore-shared tdeprint-shared tdeui-shared DCOP-shared ${MPFR_LIBRARIES}
|
|
|
|
LINK kio-shared tdecore-shared tdeprint-shared tdeui-shared DCOP-shared ${MPFR_LIBRARIES}
|
|
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
)
|
|
|
|