Changeset 154 in pacpusframework
- Timestamp:
- Aug 1, 2013, 1:12:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/cmake/PacpusUtilities.cmake
r139 r154 383 383 # ======================================== 384 384 function(CREATE_EXPORT OUT_H PLUGIN_NAME) 385 # set output directory if given, otherwise use current directory 386 set(PLUGIN_OUTPUT_DIR "${ARGN}") 385 387 # set file name to the input variable 386 set(PLUGIN_CONFIG_FILE "${PLUGIN_NAME}PluginConfig.h") 388 set(PLUGIN_CONFIG_FILE "${PLUGIN_NAME}Config.h") 389 if (NOT "${PLUGIN_OUTPUT_DIR}" STREQUAL "") 390 set(PLUGIN_CONFIG_FILE "${PLUGIN_OUTPUT_DIR}/${PLUGIN_CONFIG_FILE}") 391 endif() 392 387 393 set(${OUT_H} "${PLUGIN_CONFIG_FILE}" PARENT_SCOPE) 388 394
Note:
See TracChangeset
for help on using the changeset viewer.