xref: /PHP-5.4/win32/build/DSP.README (revision 640270c4)
1MSVC++ project file generation
2==============================
3
4These files are only intended for use in debugging and profiling,
5but can be used to create working binaries. However, they are very
6unlikely to match the official PHP distributed binaries.
7
8With this in mind, the script will only generate basic .dsp files
9for the modules that are currently configured.
10
11The switch for project file generation is a buildconf switch and
12not a configure switch:
13
14> buildconf --add-project-files
15> configure ...
16
17The resulting workspace files should appear at /win32/phpdll[ts].dsw
18and (if any shared modules are configured) at /win32/php_modules.dsw,
19after configure is run.
20
21If the .dsw files haven't generated in a sane way, the most likely reason
22will be that the template files have become corrupted. They need DOS
23line endings (CR/LF) in order to function. The affected files are:
24
25/win32/build/block.template.dsw
26/win32/build/template.dsp
27/win32/build/template.dsw
28
29Simply save them with DOS line endings, and bug it to me if basic
30project file generation still fails (as in, you ran the command and
31configure again after saving, and you have a working copy of MSVS
32installed, but clicking on the workspace(s) doesn't give you anything).
33
34- Steph
35sfox@php.net
36
37July 2008
38