Skip to content

Commit

Permalink
Add settings example of defining a library alias for a relocatable pr…
Browse files Browse the repository at this point in the history
…oject
  • Loading branch information
pmoura committed Sep 26, 2016
1 parent a03d835 commit 9dbbd2c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion settings-sample.lgt
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Sample settings file
% Last updated on July 13, 2016
% Last updated on September 27, 2016
%
% This file is part of Logtalk <http://logtalk.org/>
% Copyright 1998-2016 Paulo Moura <pmoura@logtalk.org>
Expand Down Expand Up @@ -102,6 +102,17 @@ logtalk_library_path(my_project_examples, my_project('examples/')).
*/


% To define a "library" alias for your project while making it
% relocatable, edit and uncomment the following lines:

/*
:- initialization((
logtalk_load_context(directory, Directory),
assertz(logtalk_library_path(my_project, Directory))
)).
*/


% To define a common directory for Logtalk compiler generated temporary
% Prolog files, edit and uncomment the following lines (the directory
% path must end with a slash character):
Expand Down

0 comments on commit 9dbbd2c

Please sign in to comment.