Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Note that in virtually all cases, you want your LUA_PATH and
LUA_CPATH variables to start with ';;;', which means: search
standard system paths as well.

_NOTE_ the env hooks will setup the paths automatically.

RUNNING
-------
Expand Down
3 changes: 2 additions & 1 deletion env-hooks/10.rttlua_completion.sh.develspace.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export LUA_PATH="$LUA_PATH;@CMAKE_CURRENT_SOURCE_DIR@/?.lua"
if [ "x$LUA_CPATH" = "x" ]; then
LUA_CPATH=";"
fi
export LUA_CPATH="$LUA_CPATH;@CMAKE_CURRENT_SOURCE_DIR@/?.so"
export LUA_CPATH="$LUA_CPATH;@CMAKE_LIBRARY_OUTPUT_DIRECTORY@/?.so"

3 changes: 2 additions & 1 deletion env-hooks/10.rttlua_completion.sh.installspace.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export LUA_PATH="$LUA_PATH;@CMAKE_INSTALL_PREFIX@/share/lua/5.1/rttlua_completio
if [ "x$LUA_CPATH" = "x" ]; then
LUA_CPATH=";"
fi
export LUA_CPATH="$LUA_CPATH;@CMAKE_INSTALL_PREFIX@/share/lua/5.1/rttlua_completion/?.so"
export LUA_CPATH="$LUA_CPATH;@CMAKE_INSTALL_PREFIX@/lib/?.so"