Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CDS
channel_completion
Commits
e0ad574e
Commit
e0ad574e
authored
Jan 22, 2019
by
Jonathan Hanks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some debug messages from the install phase, added some comments.
parent
dfbeb81b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
bash/link_file.cmake.in
bash/link_file.cmake.in
+6
-3
No files found.
bash/link_file.cmake.in
View file @
e0ad574e
message("external process DESTDIR=$ENV{DESTDIR} INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@ SCRIPT_DIR=@COMPLETE_SCRIPT_DIR@")
# This cmake script is used to provide relative links between the ligo_channel_completion
# bash completion script and the names of the various commands that that get completed.
# It is done in an external script as it needs to have access to the DESTDIR environment
# variable (if present) which is found at run/install time, not at configuration time.
# ideas from https://stackoverflow.com/questions/35765106/symbolic-links-cmake
# ideas from https://stackoverflow.com/questions/35765106/symbolic-links-cmake
set (LINK_ENTRIES "@COMPLETE_THESE_COMMANDS@")
set (LINK_ENTRIES "@COMPLETE_THESE_COMMANDS@")
...
@@ -6,6 +10,5 @@ foreach (entry ${LINK_ENTRIES})
...
@@ -6,6 +10,5 @@ foreach (entry ${LINK_ENTRIES})
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ligo_channel_completion ${entry}
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ligo_channel_completion ${entry}
WORKING_DIRECTORY "$ENV{DESTDIR}@COMPLETE_SCRIPT_DIR@"
WORKING_DIRECTORY "$ENV{DESTDIR}@COMPLETE_SCRIPT_DIR@"
)
)
message("-- Created symlink: for ${entry}")
message("-- Created symlink: for ${entry}
in $ENV{DESTDIR}@COMPLETE_SCRIPT_DIR@
")
endforeach()
endforeach()
message("Working dir = $ENV{DESTDIR}@COMPLETE_SCRIPT_DIR@")
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment