Re: Build system for Windows

Daniel Sahlberg <[email protected]> Sun, 17 May 2026 17:44:02 +0200
Newsgroups gmane.comp.apache.apr.devel
Message-ID <CAMHy98OmJFbVn9n_8TqmeHFik-ePJx7CHg8unKjF8GxOyvVYxQ@mail.gmail.com>
I think there is a misunderstanding. Steffen wrote "We also build
everything for Apache HTTP Server with CMake except OpenSSL."

The script linked by Mario uses the classic perl-based build system
with nmake (make_package =3D nmake clean; nmake && nmake install):

[[[
    perl Configure !OS_COMPILER! !OPENSSL_CONFIGURE_OPTS! & call :get_statu=
s
    if !STATUS! =3D=3D 0 (
      if exist makefile (
        if /i "%INSTALL_PDB%"=3D=3D"OFF" (
          perl -pi.bak -e ^" ^
            s~^(INSTALL_.*PDBS=3D^).*~${1}nul~; ^
            ^" makefile
        )
        rem Make package using newly created Makefile.
        rem
        call :make_package %OPENSSL%
      ) else (
        echo Cannot find Makefile for %OPENSSL% in !SRC_DIR!
        set STATUS=3D1
      )
    ) else (
      echo perl configure for %OPENSSL% failed with status !STATUS!
    )
]]]

Cheers,
Daniel


Den s=C3=B6n 17 maj 2026 kl 16:08 skrev Mario Brandt <[email protected]>:
>
> Hi Ivan.
> there is a topic at Apache Lounge with a complete build script
> https://www.apachelounge.com/viewtopic.php?t=3D8609
>
> Cheers
> Mario
>
> On Tue, 12 May 2026 at 15:26, Ivan Zhakov <[email protected]> wrote:
> >
> > We also build everything for Apache HTTP Server with CMake except OpenS=
SL. How did you manage to use CMake for OpenSSL?
> >
> > --
> > Ivan Zhakov