Changeset 124 in pacpusframework for branches/2.0-beta1/cmake/PacpusUtilities.cmake


Ignore:
Timestamp:
07/24/13 11:31:27 (11 years ago)
Author:
morasjul
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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"
Note: See TracChangeset for help on using the changeset viewer.