Changeset 18993 for trunk/FACT++
- Timestamp:
- 04/07/18 17:30:26 (7 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/CMakeLists.txt
r18992 r18993 71 71 # ********************************* 72 72 73 # =========== pkg-config ============ 74 FIND_PACKAGE(PkgConfig) 75 FIND_PACKAGE(PackageHandleStandardArgs) 76 77 73 78 # ========== executables ========== 74 79 FIND_PROGRAM(HELP2MAN_EXECUTABLE help2man) … … 76 81 FIND_PROGRAM(MAILX_EXECUTABLE mailx) 77 82 FIND_PROGRAM(CURL_EXECUTABLE curl) 78 FIND_PROGRAM(PS2DPF_EXECUTABLE ps2pdf)79 83 FIND_PROGRAM(GROFF_EXECUTABLE groff) 80 84 81 # =========== pkg-config ============ 82 FIND_PACKAGE(PkgConfig) 83 FIND_PACKAGE(PackageHandleStandardArgs) 84 85 FIND_PACKAGE_HANDLE_STANDARD_ARGS(groff DEFAULT_MSG GROFF_EXECUTABLE) 86 FIND_PACKAGE_HANDLE_STANDARD_ARGS(curl DEFAULT_MSG CURL_EXECUTABLE) 87 FIND_PACKAGE_HANDLE_STANDARD_ARGS(mailx DEFAULT_MSG MAILX_EXECUTABLE) 88 FIND_PACKAGE_HANDLE_STANDARD_ARGS(jsdoc DEFAULT_MSG JSDOC_EXECUTABLE) 89 FIND_PACKAGE_HANDLE_STANDARD_ARGS(help2man DEFAULT_MSG HELP2MAN_EXECUTABLE) 90 91 #IF(NOT SOME_COND) 92 # MESSAGE(FATAL_ERROR "At least one required executable was not found") 93 #ENDIF() 85 94 86 95 # =========== libraries ============= … … 89 98 90 99 # FIXME: Need to check which package finders accept REQUIERED. For all others implement checks 100 101 FIND_PACKAGE(Threads REQUIRED) # Threads::Threads 102 FIND_PACKAGE(ZLIB REQUIRED) # ZLIB::ZLIB 103 FIND_PACKAGE(OpenGL REQUIRED) # OpenGL::GL OpenGL::GLU / OPENGL_FOUND OPENGL_GLU_FOUND 91 104 92 105 SET(CURSES_NEED_NCURSES ON) … … 94 107 # FIXME : Require panel 95 108 96 FIND_PACKAGE(DBus) 97 FIND_PACKAGE(Motif) # MOTIF_FOUND 109 # FIND_PACKAGE(DBus) => skaypeclient 110 # FIND_PACKAGE(Motif) => did # MOTIF_FOUND 111 FIND_PACKAGE(Readline REQUIRED) 112 FIND_PACKAGE(Panel REQUIRED) 98 113 FIND_PACKAGE(Nova REQUIRED) 99 FIND_PACKAGE(Readline REQUIRED) 100 FIND_PACKAGE(ZLIB REQUIRED) # ZLIB::ZLIB 101 FIND_PACKAGE(Threads REQUIRED) # Threads::Threads 102 FIND_PACKAGE(OpenGL REQUIRED) # OpenGL::GL OpenGL::GLU / OPENGL_FOUND OPENGL_GLU_FOUND 103 104 INCLUDE_DIRECTORIES("/usr/include/mysql") 105 114 FIND_PACKAGE(MySQL REQUIRED) 115 FIND_PACKAGE(MySQL++ REQUIRED) 116 FIND_PACKAGE(V8 REQUIRED) 117 FIND_PACKAGE(Cfitsio REQUIRED) 118 FIND_PACKAGE(CCfits REQUIRED) 119 120 #INCLUDE_DIRECTORIES("/usr/include/mysql") 121 # dbus-1 dbus-glib-1 122 # doxygen 123 124 MESSAGE("") 125 MESSAGE(${V8_LIBRARY}) 126 MESSAGE(${MYSQLPP_LIBRARY}) 127 MESSAGE(${PANEL_LIBRARY}) 106 128 MESSAGE(${CURSES_LIBRARIES}) 129 MESSAGE(${CCFITS_LIBRARY}) 130 MESSAGE(${CFITSIO_LIBRARY}) 131 MESSAGE(${MYSQL_LIBRARY}) 132 MESSAGE(${NOVA_LIBRARY}) 133 MESSAGE(${READLINE_LIBRARY}) 134 MESSAGE("") 135 136 INCLUDE_DIRECTORIES(${MYSQL_INCLUDE_DIR}) 107 137 108 138 … … 118 148 119 149 # =============== QT4 ============== 120 #SET(CMAKE_AUTOMOC ON)121 #SET(CMAKE_AUTORCC ON)122 150 SET(CMAKE_INCLUDE_CURRENT_DIR ON) 123 124 # set(CMAKE_AUTOMOC ON)125 # set(CMAKE_INCLUDE_CURRENT_DIR ON)126 # find_package(Qt4 4.4.3 REQUIRED QtGui QtXml)127 # add_executable(myexe main.cpp)128 # target_link_libraries(myexe Qt4::QtGui Qt4::QtXml)129 130 # QtCore QtSql QtOpenGL QtXml131 151 FIND_PACKAGE(Qt4 REQUIRED QtCore QtGui QtOpenGL QtSql QtXml) 132 #INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR})133 #INCLUDE_DIRECTORIES(${QT_QTGUI_INCLUDE_DIR})134 #INCLUDE_DIRECTORIES(${QT_QTSQL_INCLUDE_DIR})135 #INCLUDE_DIRECTORIES(${QT_QTXML_INCLUDE_DIR})136 #INCLUDE_DIRECTORIES(${QT_QTCORE_INCLUDE_DIR})137 #INCLUDE_DIRECTORIES(${QT_QTOPENGL_INCLUDE_DIR})138 139 #MESSAGE(${QT_INCLUDE_DIR})140 #MESSAGE(${QT_QTGUI_INCLUDE_DIR})141 #MESSAGE(${QT_QTSQL_INCLUDE_DIR})142 #MESSAGE(${QT_QTXML_INCLUDE_DIR})143 #MESSAGE(${QT_QTCORE_INCLUDE_DIR})144 #MESSAGE(${QT_QTOPENGL_INCLUDE_DIR})145 146 # dbus-1 dbus-glib-1147 # doxygen148 # libm149 # readline150 # ncurses libpanel panel.h151 # motif152 # GL153 # GLU154 # cfitsio155 # ccfits156 # mysql devel157 # mysqlpp devel158 # boost system, asio, date_time, filesystem, program_options, regex, thread159 # v8160 # Qt4/5 Core QGL QWT161 152 162 153 … … 426 417 # ******************************************************** 427 418 428 SET(HELP++LIBS Tools Configuration Time mysqlpp mysqlclient)419 SET(HELP++LIBS Tools Configuration Time mysqlpp ${MYSQL_LIBRARIES}) 429 420 430 421 # -------------------------------------------------------- … … 607 598 TARGET_LINK_LIBRARIES(pwrctrl ${FACT++LIBS} Qt4::QtXml) 608 599 MANPAGE(pwrctrl "") 600 601 ADD_EXECUTABLE(rainsensor src/rainsensor.cc) 602 TARGET_LINK_LIBRARIES(rainsensor ${FACT++LIBS}) 603 MANPAGE(rainsensor "") 609 604 610 605 ADD_EXECUTABLE(ratecontrol src/ratecontrol.cc) -
trunk/FACT++/Makefile.am
r18985 r18993 42 42 magicweather magiclidar \ 43 43 smartfact evtserver getevent \ 44 temperature biastemp \44 temperature rainsensor biastemp \ 45 45 timecheck \ 46 46 showlog \ … … 127 127 pfminictrl.man \ 128 128 pwrctrl.man \ 129 rainsensor.man \ 129 130 ratecontrol.man \ 130 131 ratescan.man \ … … 414 415 libConfiguration.la 415 416 417 rainsensor_SOURCES = src/rainsensor.cc src/LocalControl.h 418 rainsensor_LDADD = libDim++.la libDim.la libDimExtension.la \ 419 libStateMachine.la libTools.la libTime.la \ 420 libConfiguration.la 421 416 422 temperature_SOURCES = src/temperature.cc src/LocalControl.h 417 423 temperature_LDADD = libDim++.la libDim.la libDimExtension.la \
Note:
See TracChangeset
for help on using the changeset viewer.