Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph
Commits
db50d150
Commit
db50d150
authored
Jun 28, 2010
by
Francois Bleibel
Browse files
Added auto-generated script to start shell with default plugins loaded.
parent
03aed5e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/CMakeLists.txt
View file @
db50d150
...
...
@@ -7,6 +7,17 @@ SET(tools
test_shell
)
### Configure shell launch script
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/shell.sh.cmake
${${
PROJECT_NAME
}
_BINARY_DIR
}
/tools/shell.sh
)
INSTALL
(
FILES
${${
PROJECT_NAME
}
_BINARY_DIR
}
/tools/shell.sh
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/bin/
${
PROJECT_NAME
}
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
)
FOREACH
(
tool_name
${
tools
}
)
SET
(
EXECUTABLE_NAME
${
tool_name
}
)
...
...
tools/shell.sh.cmake
0 → 100644
View file @
db50d150
echo
"-- Launching dynamic-graph C shell with default plugins"
echo
"loadPlugin
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/shell-functions.so"
> ./default_script
echo
"loadPlugin
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/shell-procedure.so"
>> ./default_script
${
CMAKE_INSTALL_PREFIX
}
/bin/
${
PROJECT_NAME
}
/test_shell default_script
\ 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