This commit is contained in:
Vitor Santos Costa 2018-06-30 00:57:41 +01:00
parent 6c1d3d1a95
commit c5de0d647c
2 changed files with 9 additions and 4 deletions

View File

@ -567,7 +567,7 @@ List(APPEND YLIBS $<TARGET_OBJECTS:utf8proc>)
List(APPEND YLIBS $<TARGET_OBJECTS:myddas>) List(APPEND YLIBS $<TARGET_OBJECTS:myddas>)
List(APPEND YLIBS $<TARGET_OBJECTS:libswi>) List(APPEND YLIBS $<TARGET_OBJECTS:libswi>)
if (WIN32 OR ANDROID) if (WIN32 OR ANDROID)
List(APPEND YLIBS $<TARGET_OBJECTS:Yapsqlite3>) List(APPEND YLIBS $<TARGET_OBJECTS:YAPsqlite3>)
List(APPEND YLIBS $<TARGET_OBJECTS:YAP++>) List(APPEND YLIBS $<TARGET_OBJECTS:YAP++>)
if (WIN32 AND WITH_PYTHON) if (WIN32 AND WITH_PYTHON)
List(APPEND YLIBS $<TARGET_OBJECTS:Py4YAP>) List(APPEND YLIBS $<TARGET_OBJECTS:Py4YAP>)

View File

@ -1,5 +1,8 @@
:- stop_low_level_trace. :- stop_low_level_trace.
:- use_module(library(maplist)).
:- use_module(library(lists)).
:- use_module(library(maplist)).
:- use_module(library(myddas)). :- use_module(library(myddas)).
main :- main :-
@ -12,8 +15,9 @@ main_ :-
main_ . main_ .
init :- init :-
% db_open(sqlite3, '/data/user/0/pt.up.yap.yapdroid/files/Yap/chinook.db', _, _), db_open(sqlite3, '/data/user/0/pt.up.yap.yapdroid/files/Yap/chinook.db', _, _),
db_open(sqlite3, 'chinook.db', _, _),
% db_open(sqlite3, 'chinook.db', _, _),
writeln('chinook has landed'). writeln('chinook has landed').
go :- go :-
@ -91,3 +95,4 @@ close :-
db_close. db_close.
:- main. :- main.
:- stop_low_level_trace.