1 include_directories( BEFORE ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/backend )
4 install_pam_service(KDM)
6 include(ConfigureChecks.cmake)
8 install( FILES README DESTINATION ${DATA_INSTALL_DIR}/doc/kdm )
10 set(confproc ${CMAKE_CURRENT_SOURCE_DIR}/confproc.pl)
11 set(confdef ${CMAKE_CURRENT_SOURCE_DIR}/config.def)
12 set(confci ${CMAKE_CURRENT_BINARY_DIR}/config.ci)
13 macro_additional_clean_files( ${confci} )
18 COMMAND ${PERL_EXECUTABLE} -w ${confproc} ${confdef} ${confci}
19 MAIN_DEPENDENCY ${confdef}
22 endmacro(build_confci)
25 add_custom_target(config.ci DEPENDS ${confci})
27 ### this is *only* for the kdm home page maintainer! ###
28 ADD_CUSTOM_TARGET(hp scp
29 ${CMAKE_CURRENT_SOURCE_DIR}/README
30 ${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog
31 ${CMAKE_CURRENT_SOURCE_DIR}/TODO
34 # after build_confci is defined
35 add_subdirectory(backend)
36 add_subdirectory(kfrontend)