Changeset 120 in pacpusframework for branches/2.0-beta1/src/PacpusSensor


Ignore:
Timestamp:
Jul 15, 2013, 4:59:37 PM (11 years ago)
Author:
morasjul
Message:
  • add PacpusSerialport (QT 5.1 required)
  • add part of QT4 / QT5 cmake script
  • fix CMake (link)
  • add ComponentBase virtual function addInput() & addOutput() call before component configuration
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/PacpusSensor/CMakeLists.txt

    r111 r120  
    2929    ${PROJECT_BINARY_DIR}/../PacpusLib
    3030    ${PROJECT_BINARY_DIR}/../FileLib
     31    ${PROJECT_BINARY_DIR}/../PacpusTools
    3132)
    3233
     
    4647set(SENSOR_UI_CLASSES src/ui/pacpusmainwindow.ui)
    4748set(SENSOR_MOC_CLASSES src/ui/pacpusmainwindow.h)
     49
    4850qt5_wrap_ui(SENSOR_UI_SOURCES_H ${SENSOR_UI_CLASSES})
    4951qt5_wrap_cpp(SENSOR_MOC_SOURCES ${SENSOR_MOC_CLASSES})
     52
    5053source_group(Main_ui FILES ${PROJECT_SRCS} )
    5154source_group(moc FILES ${SENSOR_MOC_SOURCES} ${SENSOR_UI_SOURCES_H} )
     
    6669# Libraries
    6770# ========================================
     71
     72set(OPT_LIBRARIES
     73        optimized FileLib debug FileLib_d
     74        optimized PacpusLib debug PacpusLib_d
     75        optimized PacpusTools debug PacpusTools_d
     76)
     77
    6878# Windows platform
    6979if(WIN32)
    70 set(LIBS
     80    LIST(APPEND OPT_LIBRARIES
    7181        optimized ROAD_TIME debug ROAD_TIME_d
    7282        Winmm
     
    7888    ${PROJECT_NAME}
    7989    ${PACPUS_DEPENDENCIES_LIB}
    80     optimized FileLib debug FileLib_d
    81     optimized PacpusLib debug PacpusLib_d
    82     ${LIBS}
     90    ${OPT_LIBRARIES}
    8391    ${QT_LIBRARIES}
    8492)
Note: See TracChangeset for help on using the changeset viewer.