Warning, /pim/kcalutils/cmake/KPIMGrantleeMacros.cmake is written in an unsupported language. File is not indexed.
0001
0002 include(CMakeParseArguments)
0003
0004 macro(kpim_grantlee_adjust_plugin_name pluginname)
0005 set_target_properties(${pluginname}
0006 PROPERTIES PREFIX ""
0007 LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/grantlee/${Grantlee5_VERSION_MAJOR}.${Grantlee5_VERSION_MINOR}"
0008 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/grantlee/${Grantlee5_VERSION_MAJOR}.${Grantlee5_VERSION_MINOR}"
0009 DEBUG_POSTFIX "d"
0010 )
0011 foreach(cfg ${CMAKE_CONFIGURATION_TYPES})
0012 string(TOUPPER ${cfg} CFG)
0013 set_target_properties(${pluginname}
0014 PROPERTIES
0015 LIBRARY_OUTPUT_DIRECTORY_${CFG} "${CMAKE_BINARY_DIR}/bin/grantlee/${Grantlee5_VERSION_MAJOR}.${Grantlee5_VERSION_MINOR}"
0016 RUNTIME_OUTPUT_DIRECTORY_${CFG} "${CMAKE_BINARY_DIR}/bin/grantlee/${Grantlee5_VERSION_MAJOR}.${Grantlee5_VERSION_MINOR}"
0017 )
0018 endforeach()
0019 endmacro()