Browse Source

GladeCommonRules.cmake added.

master
Kolan Sh 3 years ago
parent
commit
28caeab8ac
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      GladeCommonRules.cmake

+ 4
- 0
GladeCommonRules.cmake View File

@@ -0,0 +1,4 @@
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}")

Loading…
Cancel
Save