/ Check-in [277a7fed]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add support for LSM_DEBUG to the MSVC makefile for lsm1.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 277a7fedafbe5b43d44086f3cb73e952873913bdc4b51041f45b6571b386d7d9
User & Date: mistachkin 2017-07-07 18:31:51
Context
2017-07-07
19:02
Enhance the MSVC makefile 'clean' target to handle lsm1. check-in: 2d6faebc user: mistachkin tags: trunk
18:31
Add support for LSM_DEBUG to the MSVC makefile for lsm1. check-in: 277a7fed user: mistachkin tags: trunk
18:06
In the command-line shell, when running ".schema" give a sensible error when the database file is locked. check-in: cc329eb8 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/lsm1/Makefile.msc.

    38     38                $(LSMDIR)\lsm-test\lsmtest_main.c $(LSMDIR)\lsm-test\lsmtest_mem.c \
    39     39                $(LSMDIR)\lsm-test\lsmtest_tdb.c $(LSMDIR)\lsm-test\lsmtest_tdb3.c \
    40     40                $(LSMDIR)\lsm-test\lsmtest_util.c $(LSMDIR)\lsm-test\lsmtest_win32.c
    41     41   
    42     42   # all: lsm.dll
    43     43   
    44     44   LSMOPTS = -DLSM_MUTEX_WIN32=1 -I$(LSMDIR)
           45  +
           46  +!IF $(DEBUG)>2
           47  +LSMOPTS = $(LSMOPTS) -DLSM_DEBUG=1
           48  +!ENDIF
    45     49   
    46     50   !IF $(MEMDEBUG)!=0
    47     51   LSMOPTS = $(LSMOPTS) -DLSM_DEBUG_MEM=1
    48     52   !ENDIF
    49     53   
    50     54   lsm_ckpt.lo:	$(LSMDIR)\lsm_ckpt.c $(LSMHDR) $(SQLITE3H)
    51     55   	$(LTCOMPILE) $(LSMOPTS) -c $(LSMDIR)\lsm_ckpt.c