Changeset 124 in pacpusframework for branches/2.0-beta1/cmake/PacpusUtilities.cmake
- Timestamp:
- Jul 24, 2013, 11:31:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/cmake/PacpusUtilities.cmake
r121 r124 392 392 "// Export macro for use DLL for Windows only\n" 393 393 "#ifdef WIN32\n" 394 " #ifdef ${PLUGIN_NAME_UPPER}_EXPORT\n"394 " #ifdef ${PLUGIN_NAME_UPPER}_EXPORT\n" 395 395 "// 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" 398 398 "// 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" 401 401 "#else\n" 402 402 "// 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" 405 405 406 406 "#endif // __EXPORT_${PLUGIN_NAME_UPPER}_H__\n"
Note:
See TracChangeset
for help on using the changeset viewer.