Automatic Glade symlinks creation for debugging.
This commit is contained in:
parent
06cbe6b890
commit
c7c03a6e41
|
@ -1 +1,5 @@
|
|||
INSTALL (FILES gtkbuilder-test.glade DESTINATION "share/gtkbuilder-test-${MAJOR}/ui")
|
||||
SET (REL_INSTALL_DIR "share/${PROJECT_LOWERCASE_NAME}-${MAJOR}/ui")
|
||||
SET (ABS_INSTALL_DIR "${CMAKE_BINARY_DIR}/${REL_INSTALL_DIR}")
|
||||
FILE (MAKE_DIRECTORY "${ABS_INSTALL_DIR}")
|
||||
EXECUTE_PROCESS (COMMAND ln "-s" "${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_LOWERCASE_NAME}.glade" "${ABS_INSTALL_DIR}/${PROJECT_LOWERCASE_NAME}.glade")
|
||||
INSTALL (FILES ${PROJECT_LOWERCASE_NAME}.glade DESTINATION "${REL_INSTALL_DIR}")
|
||||
|
|
Loading…
Reference in New Issue