Changeset 133 in pacpusframework for branches/2.0-beta1/cmake


Ignore:
Timestamp:
Jul 30, 2013, 2:54:16 PM (11 years ago)
Author:
Marek Kurdej
Message:

Update: PacpusUtilities.cmake: create_export minor fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/cmake/PacpusUtilities.cmake

    r132 r133  
    382382function(CREATE_EXPORT OUT_H PLUGIN_NAME)
    383383    # set file name to the input variable
    384     set(${OUT_H} "${PLUGIN_NAME}Config.h" PARENT_SCOPE)
     384    set(PLUGIN_CONFIG_FILE "${PLUGIN_NAME}PluginConfig.h")
     385    set(${OUT_H} "${PLUGIN_CONFIG_FILE}" PARENT_SCOPE)
    385386   
    386387    # create the header file
    387388    string(TOUPPER ${PLUGIN_NAME} PLUGIN_NAME_UPPER)
    388     file(WRITE "${${OUT_H}}"
     389    file(WRITE "${PLUGIN_CONFIG_FILE}"
    389390        "// Autogenerated file by PacpusUtilities.cmake\n"
    390391        "// DO NOT EDIT!!! ALL CHANGES WOULD BE REMOVED BY THE NEXT CALL OF CMAKE\n"
Note: See TracChangeset for help on using the changeset viewer.