diff options
author | Roman Rakus <rrakus@redhat.com> | 2013-07-24 11:45:14 +0200 |
---|---|---|
committer | Roman Rakus <rrakus@redhat.com> | 2013-07-24 12:29:56 +0200 |
commit | f990e0ddb6c2079cc3cfeefe9a0947a357880e8f (patch) | |
tree | 6aa32da02620f6afbe2fc0561d7a5e55b1195bc7 /src/account/CMakeLists.txt | |
parent | 99f551607ff6c0f7f941873766e1533f0ce41245 (diff) | |
download | openlmi-providers-f990e0ddb6c2079cc3cfeefe9a0947a357880e8f.tar.gz openlmi-providers-f990e0ddb6c2079cc3cfeefe9a0947a357880e8f.tar.xz openlmi-providers-f990e0ddb6c2079cc3cfeefe9a0947a357880e8f.zip |
Account: Profile registration
Signed-off-by: Roman Rakus <rrakus@redhat.com>
Diffstat (limited to 'src/account/CMakeLists.txt')
-rw-r--r-- | src/account/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt index 61075a1..d839565 100644 --- a/src/account/CMakeLists.txt +++ b/src/account/CMakeLists.txt @@ -30,6 +30,16 @@ add_library(${LIBRARY_NAME} SHARED ${CIM_HEADERS} ) +set(CIM_PROVIDERS_CLASSES "") +foreach(CIM_CLASS ${CIM_CLASSES}) + if(NOT ${CIM_CLASS} MATCHES "Indication") + set(CIM_PROVIDERS_CLASSES ${CIM_PROVIDERS_CLASSES} ${CIM_CLASS}) + endif(NOT ${CIM_CLASS} MATCHES "Indication") +endforeach(CIM_CLASS ${CIM_CLASSES}) + +set(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_Account_Profile.mof") +profile_mof_generate("90_LMI_Account_Profile.mof.skel" "${TARGET_MOF}" "${CIM_PROVIDERS_CLASSES}") + # Require GLib-2.0 and libuser pkg_check_modules(GLIB REQUIRED glib-2.0) pkg_check_modules(LIBUSER REQUIRED libuser) @@ -43,3 +53,4 @@ cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) install(PROGRAMS ${ACCOUNT_SCRIPT} DESTINATION libexec/pegasus) +install(FILES ${TARGET_MOF} DESTINATION share/openlmi/providers/) |