Re: Build system for Windows
Ivan Zhakov <[email protected]> Sun, 17 May 2026 16:15:34 +0200
| Newsgroups | gmane.comp.apache.apr.devel |
|---|---|
| Message-ID | <CAPZho09tPjJH_yyvLiWj84MSC5No77MvQKkzYYeSjJNiA7=spQ@mail.gmail.com> |
--0000000000001370ff06520415b8 Content-Type: text/plain; charset="UTF-8" On Sat, 9 May 2026 at 23:22, Ivan Zhakov <[email protected]> wrote: > Hi, > > Currently apr-trunk has three different ways to build on Windows. > > 1. Visual C++ 6.0 (.dsw/.dsp) > > 2. NMake (apr.mak/libapr.mak). Generated during tarbal creation. > > 3. CMake (CMakeLists.txt) > > I suggest to make CMake the only build system for Windows and remove > support for everything else (Visual C++ 6.0 and NMake): > * CMake just works. > > * Modern Visual Studio has native support for building CMake projects. > > * Visual Studio doesn't have native support for NMake. > > * vcpkg has native support for CMake > > * Visual C++ 6.0 is really old > > * NMake files doesn't support discovery of externals components. > > * NMake is only available in tarball and cannot be used for development > > As far I see there is consensus on this topic. I removed support for Visual C++ 6.0 and NMake based build systems in r1934262 <https://svn.apache.org/r1934262>, r1934267 <https://svn.apache.org/r1934267>, r1934268 <https://svn.apache.org/r1934268>, r1934269 <https://svn.apache.org/r1934269>. Thanks! -- Ivan Zhakov --0000000000001370ff06520415b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">On Sat, 9 May 2026 at 23= :22, Ivan Zhakov <<a href=3D"mailto:[email protected]" target=3D"_blank">i= [email protected]</a>> wrote:</div><div class=3D"gmail_quote"><blockquote c= lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli= d rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi,</div><div><b= r></div><div>Currently apr-trunk has three different ways to build on Windo= ws.</div><div><br></div><div>1. Visual C++ 6.0 (.dsw/.dsp)</div><div><br></= div><div>2. NMake (apr.mak/libapr.mak). Generated during tarbal creation.</= div><div><br></div><div>3. CMake (CMakeLists.txt)</div><div><br></div><div>= I suggest to make CMake the only build system for Windows and remove suppor= t for everything else (Visual C++ 6.0 and NMake):</div><div>* CMake just wo= rks.</div><div><br></div><div>* Modern Visual Studio has native support for= building CMake projects.</div><div><br></div><div> * Visual Studio doesn't have native support for NMake.=C2=A0</div><div>= <br></div><div>* vcpkg has native support for CMake</div><div><br></div><di= v>* Visual C++ 6.0 is really old=C2=A0</div><div><br></div><div>* NMake fil= es doesn't support discovery of externals components.</div><div><br></d= iv><div>* NMake is only available in tarball and cannot be used for develop= ment</div><div><br></div></div></blockquote><div><br></div><div>As far I se= e there is consensus on this topic. I removed support for Visual C++ 6.0 an= d NMake based build systems in=C2=A0<a href=3D"https://svn.apache.org/r1934= 262" target=3D"_blank">r1934262</a>, r<a href=3D"https://svn.apache.org/r19= 34267" target=3D"_blank">1934267</a>, r<a href=3D"https://svn.apache.org/r1= 934268" target=3D"_blank">1934268</a>, r<a href=3D"https://svn.apache.org/r= 1934269" target=3D"_blank">1934269</a>.</div><div><br></div><div>Thanks!</d= iv><div><br></div></div><span class=3D"gmail_signature_prefix">-- </span><b= r><div dir=3D"ltr" class=3D"gmail_signature">Ivan Zhakov</div></div> </div> --0000000000001370ff06520415b8--