You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#################################################
|
|
|
|
#
|
|
|
|
# (C) 2011 Timothy Pearson
|
|
|
|
# kb9vqf (AT) pearsoncomputing.net
|
|
|
|
#
|
|
|
|
# Improvements and feedback are welcome
|
|
|
|
#
|
|
|
|
# This file is released under GPL >= 2
|
|
|
|
#
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${TQT_INCLUDE_DIRS}
|
|
|
|
${TDE_INCLUDE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}/src
|
|
|
|
${CMAKE_SOURCE_DIR}/src
|
|
|
|
)
|
|
|
|
|
|
|
|
link_directories(
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### other data ################################
|
|
|
|
|
|
|
|
install( FILES abakus.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
|
|
install( FILES abakusui.rc DESTINATION ${DATA_INSTALL_DIR} )
|
|
|
|
|
|
|
|
##### abakus (executable) #######################
|
|
|
|
|
|
|
|
if( HAVE_MPFR )
|
|
|
|
set( MPFR_SOURCES "hmath.cpp number.c" )
|
|
|
|
set( MPFR_LIBRARIES "mpfr gmp" )
|
|
|
|
endif( HAVE_MPFR )
|
|
|
|
|
|
|
|
tde_add_executable( abakus AUTOMOC
|
|
|
|
SOURCES abakus.cpp abakuslistview.cpp
|
|
|
|
dragsupport.cpp editor.cpp
|
|
|
|
evaluator.cpp function.cpp
|
|
|
|
lexer_lex.cpp mainwindow.cpp
|
|
|
|
node.cpp numerictypes.cpp
|
|
|
|
parser_yacc.cpp result.cpp
|
|
|
|
resultlistview.cpp resultlistviewtext.cpp
|
|
|
|
rpnmuncher.cpp valuemanager.cpp dcopIface.skel
|
|
|
|
${MPFR_SOURCES}
|
|
|
|
LINK kio-shared tdecore-shared tdeprint-shared tdeui-shared DCOP-shared ${MPFR_LIBRARIES}
|
|
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
)
|