Public
snipts » ln
showing 1-2 of 2 snipts for ln
-
∞ Replace directory symlink
# Given symlink, target, replace it with a symlink the the directory, source # Tested only with directories, not sure how this would work for files # s - symbolic link # f - if the target exists, unlink it # h - do not follow target symlink, required for replacing a directory symlink ln -sfh source target
-
∞ link into qmake file
!isEmpty(LINK_ROOT_PATH) { createlink.commands = ln -sf $${INSTALL_ROOT_PATH}/$${BINARY_TARGET} $${LINK_ROOT_PATH}/$${BINARY_TARGET} QMAKE_EXTRA_TARGETS += createlink PRE_TARGETDEPS += createlink }



Programming Python