Changeset 124 in pacpusframework


Ignore:
Timestamp:
Jul 24, 2013, 11:31:27 AM (11 years ago)
Author:
morasjul
Message:

comment cmake policy because error linux
fix createEcporrt cmake function
unload PacpusSerialPort (move to pacpus cityvip (ToolsComponents) now

Location:
branches/2.0-beta1
Files:
3 edited

Legend:

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

    r123 r124  
    1010project(Pacpus)
    1111cmake_minimum_required(VERSION 2.8)
    12  cmake_policy(SET CMP0020  NEW) # for QT5.1 on windows
     12
     13#cmake_policy(SET CMP0020  NEW) # for QT5.1 on windows / not work on linux
     14
    1315# ========================================
    1416# Pacpus version
  • branches/2.0-beta1/cmake/PacpusUtilities.cmake

    r121 r124  
    392392        "// Export macro for use DLL for Windows only\n"
    393393        "#ifdef WIN32\n"
    394         "#   ifdef ${PLUGIN_NAME_UPPER}_EXPORT\n"
     394        "   #ifdef ${PLUGIN_NAME_UPPER}_EXPORT\n"
    395395        "//      make DLL\n"
    396         "#       define ${PLUGIN_NAME_UPPER}_API __declspec(dllexport)\n"
    397         "#   else\n"
     396        "       #define ${PLUGIN_NAME_UPPER}_API __declspec(dllexport)\n"
     397        "   #else\n"
    398398        "//      use DLL\n"
    399         "#       define ${PLUGIN_NAME_UPPER}_API __declspec(dllimport)\n"
    400         "#   endif\n"
     399        "       #define ${PLUGIN_NAME_UPPER}_API __declspec(dllimport)\n"
     400        "   #endif\n"
    401401        "#else\n"
    402402        "//      On other platforms, simply ignore this\n"
    403         "#       define ${PLUGIN_NAME_UPPER}_API\n"
    404         "//#endif\n"
     403        "   #define ${PLUGIN_NAME_UPPER}_API\n"
     404        "#endif\n\n"
    405405
    406406        "#endif // __EXPORT_${PLUGIN_NAME_UPPER}_H__\n"
  • branches/2.0-beta1/src/PacpusTools/CMakeLists.txt

    r123 r124  
    4141    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/geodesie.h
    4242    #${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/pacpusStruct.h
    43     ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PacpusSerialPort.h
     43    #${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PacpusSerialPort.h
    4444    ./src/matrice.cpp
    4545    ./src/geodesie.cpp
    4646    ./src/AsyncWorkerBase.cpp
    4747    ./src/PeriodicWorker.cpp
    48     ./src/PacpusSerialPort.cpp
     48    #./src/PacpusSerialPort.cpp
    4949)
    5050
     
    5656    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/AsyncWorkerBase.h
    5757    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PeriodicWorker.h
    58     ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PacpusSerialPort.h
     58    #${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PacpusSerialPort.h
    5959)
    6060
Note: See TracChangeset for help on using the changeset viewer.