Changeset 99 in pacpussensors for trunk/CanGateway


Ignore:
Timestamp:
Oct 15, 2015, 2:47:01 PM (9 years ago)
Author:
nguyenhu
Message:

compilation under linux with 0.2.X framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CanGateway/CMakeLists.txt

    r94 r99  
    88# Configure qt4
    99# ========================================
    10 if(QT4_FOUND)
    11   set(QT_USE_QTXML true)
    12   set(QT_USE_QTNETWORK true)
    13   include(${QT_USE_FILE})
    14 else()
    15   message(ERROR "Qt4 needed")
    16 endif()
     10#if(QT4_FOUND)
     11#  set(QT_USE_QTXML true)
     12#  set(QT_USE_QTNETWORK true)
     13#  include(${QT_USE_FILE})
     14#else()
     15#  message(ERROR "Qt4 needed")
     16#endif()
    1717
    1818# ========================================
     
    4949    PROJECT_SRCS
    5050        CanFrameBase.h
    51     CanDecoderBase.cpp
    52     CanDecoderBase.h
    53     CanGateway.cpp
    54     CanGateway.h
    55     CanSubscription.cpp
    56     CanSubscription.h
    57     Win32CanInterface.cpp
    58     Win32CanInterface.h
     51        CanDecoderBase.cpp
     52        CanDecoderBase.h
     53        CanGateway.cpp
     54        CanGateway.h
     55        CanSubscription.cpp
     56        CanSubscription.h
     57        Win32CanInterface.cpp
     58        Win32CanInterface.h
    5959        DbtRawCanReader.h
    60     DbtRawCanReader.cpp
     60        DbtRawCanReader.cpp
    6161        structureCan.h
    6262        driver/KVaserCanDriver.cpp
     
    7171        driver/XLVectorCanDriver.cpp
    7272        driver/XLVectorCanDriver.h
    73                 driver/PeakCanDriverWin.h
    74                 driver/PeakCanDriverWin.cpp
     73        driver/PeakCanDriverWin.h
     74        driver/PeakCanDriverWin.cpp
    7575    )
    7676endif(WIN32)
     
    9090set(
    9191    FILES_TO_MOC
    92         CanGateway.h
     92    CanGateway.h
    9393    DbtRawCanReader.h
    9494    ${PLUGIN_H}
     
    129129        # add your specific libraries to link here
    130130       
    131                 optimized vcandm32.lib debug vcandm32.lib
    132         optimized vxlapi.lib debug vxlapi.lib
    133                 optimized PCANBasic.lib debug PCANBasic.lib
    134                 optimized canlib32.lib debug canlib32.lib
     131        optimized vcandm32.lib debug vcandm32.lib
     132        optimized vxlapi.lib    debug vxlapi.lib
     133        optimized PCANBasic.lib debug PCANBasic.lib
     134        optimized canlib32.lib debug canlib32.lib
    135135    )
    136136endif(WIN32)
     
    149149    ${PACPUS_LIBRARIES}
    150150    ${QT_LIBRARIES}
    151         ${PACPUS_DEPENDENCIES_LIB}
    152         ${LIBS}
    153 #       optimized PacpusTools debug PacpusTools_d
     151    ${PACPUS_DEPENDENCIES_LIB}
     152    ${LIBS}
     153    #optimized PacpusTools debug PacpusTools_d
    154154)
    155155pacpus_folder(${PROJECT_NAME} "components")
     
    166166    DESTINATION
    167167        ${PACPUS_INSTALL_DIR}/include
     168    FILES_MATCHING PATTERN "*.h"
    168169)
    169170# if WIN32 install driver dependencies
Note: See TracChangeset for help on using the changeset viewer.