1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Windows で LibreSSL を ビルドする

Posted at

必要なアプリケーション

  • LibreSSL
  • Visual Studio
  • CMake

アプリケーションのインストール

LibreSSLの取得

以下のURLから LibreSSL 3.5.3のソースコードを取得します。

Visual Studioのインストール

Visual Stuido 2022 Commnunity を以下からダウンロードしてインストールします。

CMake のインストール

以下のURLから CMake 3.23.2 の Windows版 インストーラを取得し、インストールします。

LibreSSLのビルド

Visual Studio用 コマンドプロンプトを 起動

x64 Native Tools Command Prompt for VS 2022 を管理者権限で実行します。

圧縮ファイルの展開

LibreSSLの圧縮ファイルを展開します。

> tar xvf libressl-3.5.3.tar.gz

Visual Studio のソリューションファイル(.sln)や .vcxproj ファイル の作成

cmake を実行して Visual Studio のソリューションファイル(.sln)や .vcxproj ファイルを作成します。

> cd libressl-3.5.3
> mkdir build
> cd build
> cmake ..

ビルド

作成された ソリューションファイルや.vcxproj ファイル MSBuild で ビルドします。

> MSBuild LibreSSL.sln /t:rebuild /p:Configuration=Release -m
> MSBuild INSTALL.vcxproj /t:build /p:Configuration=Release

ビルドが終わると C:\Program Files (x86)\LibreSSL のフォルダに 作成されたファイルが格納されています。

参考情報

LibreSSL を Visual Studio でビルドする

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?