AbaKus – a complex calculator
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.

50 lines
1.2KB

  1. #################################################
  2. #
  3. # (C) 2011 Timothy Pearson
  4. # kb9vqf (AT) pearsoncomputing.net
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. include_directories(
  12. ${TQT_INCLUDE_DIRS}
  13. ${TDE_INCLUDE_DIR}
  14. ${CMAKE_BINARY_DIR}
  15. ${CMAKE_BINARY_DIR}/src
  16. ${CMAKE_SOURCE_DIR}/src
  17. )
  18. link_directories(
  19. ${TQT_LIBRARY_DIRS}
  20. )
  21. ##### other data ################################
  22. install( FILES abakus.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
  23. install( FILES abakusui.rc DESTINATION ${DATA_INSTALL_DIR} )
  24. ##### abakus (executable) #######################
  25. if( HAVE_MPFR )
  26. MPFR_SOURCES="hmath.cpp number.c"
  27. MPFR_LIBRARIES="mpfr gmp"
  28. endif( HAVE_MPFR )
  29. tde_add_executable( abakus AUTOMOC
  30. SOURCES abakus.cpp abakuslistview.cpp
  31. dragsupport.cpp editor.cpp
  32. evaluator.cpp function.cpp
  33. lexer_lex.cpp mainwindow.cpp
  34. node.cpp numerictypes.cpp
  35. parser_yacc.cpp result.cpp
  36. resultlistview.cpp resultlistviewtext.cpp
  37. rpnmuncher.cpp valuemanager.cpp dcopIface.skel
  38. ${MPFR_SOURCES}
  39. LINK kio-shared tdecore-shared tdeprint-shared tdeui-shared DCOP-shared ${MPFR_LIBRARIES}
  40. DESTINATION ${BIN_INSTALL_DIR}
  41. )