My CMake modules, scripts, templates
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GladeCommonRules.cmake 292B

1234
  1. SET (REL_INSTALL_DIR "share/${PROJECT_LOWERCASE_NAME}-${MAJOR}/ui")
  2. SET (ABS_INSTALL_DIR "${CMAKE_BINARY_DIR}/${REL_INSTALL_DIR}")
  3. CONFIGURE_FILE (${GladeFile}.glade ${ABS_INSTALL_DIR}/${GladeFile}.glade)
  4. INSTALL (FILES ${ABS_INSTALL_DIR}/${GladeFile}.glade DESTINATION "${REL_INSTALL_DIR}")