File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ PHPLIB=$(PHPSDK_DIR)\lib\$(PHPLIB)
8
8
LDFLAGS=$(LDFLAGS) /libpath:"$(PHPSDK_DIR)\lib\;$(PHPSDK_DIR)"
9
9
BUILD_DIR_DEV=$(PHPSDK_DIR)
10
10
11
+ !if "$(DEBUGGER)" == "1"
12
+ DEBUGGER_CMD=devenv
13
+ DEBUGGER_ARGS=/debugexe
14
+ !else
15
+ DEBUGGER_CMD=
16
+ DEBUGGER_ARGS=
17
+ !endif
18
+
19
+ all: generated_files $(EXT_TARGETS) $(PECL_TARGETS) $(SAPI_TARGETS)
11
20
all: $(EXT_TARGETS) $(PECL_TARGETS)
12
21
13
22
build_dirs: $(BUILD_DIR) $(BUILD_DIRS_SUB)
@@ -35,7 +44,10 @@ _EXTENSION_DLL=$(EXT_TARGETS)
35
44
!endif
36
45
37
46
test: set-tmp-env
38
- "$(PHP_PREFIX)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(PHP_PREFIX)\php.exe" -d extension=$(BUILD_DIR)\$(_EXTENSION_DLL)
47
+ $(DEBUGGER_CMD) $(DEBUGGER_ARGS) "$(PHP_PREFIX)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(PHP_PREFIX)\php.exe" -d extension=$(BUILD_DIR)\$(_EXTENSION_DLL)
48
+
49
+ run: set-tmp-env
50
+ $(DEBUGGER_CMD) $(DEBUGGER_ARGS) "$(PHP_PREFIX)\php.exe" -n -d extension=$(BUILD_DIR)\\$(_EXTENSION_DLL) $(ARGS)
39
51
40
52
!if $(MT) == ""
41
53
_VC_MANIFEST_EMBED_EXE=
You can’t perform that action at this time.
0 commit comments