Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weenchvd committed Jul 19, 2023
1 parent ec2a9f2 commit a291b8a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 33 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.20)

set(CMAKE_PROJECT_INCLUDE_BEFORE "CMakePre.cmake")

project("CMakeBuildBoostLib" VERSION 0.5.1)
project("CMakeBuildBoostLib" VERSION 1.0.0)


#**********************************************************************
Expand Down
84 changes: 52 additions & 32 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,53 @@
## Build Boost library at CMake configure time
This project shows how to build a subset of the Boost library at CMake configure time.
The Boost library doesn't use CMake internally, so we can't use the
"FetchContent" module as usual. But we can get and build a subset of the Boost library
using the "bcp" Boost tool.

This project has been tested using the following systems:

## System #1
OS: Windows 10 Pro 21H1 (19043.1237) x64
IDE: Microsoft Visual Studio Community 2022 (64-bit) Version 17.1.6
CMake

## System #2
OS: Windows 10 Pro 1809 (17763.107) x64
IDE: Microsoft Visual Studio Code (64-bit) Version: 1.79.2
Visual Studio Build Tools 2022 17.6.3
GCC 13.1.0
MSYS2 20230526
CMake 3.27.0
Ninja 1.11.1

## System #3
OS: Windows 10 Pro 22H2 (19045.2364) x64
IDE: Microsoft Visual Studio Community 2022 (64-bit) Version 17.6.4
CMake 3.26.0

## System #4
OS: RebornOS Linux x86_64 Kernel: 6.1.34-1-lts Shell: zsh 5.9
IDE: Code - OSS (VS Code) Version: 1.79.2
GCC 13.1.1 20230429
CMake 3.26.4
Ninja 1.11.1

This project shows how to build a subset of the Boost library at CMake configure time.
The Boost library doesn't use CMake internally, so we can't use the
"FetchContent" module as usual. But we can get and build a subset of the Boost library
using the "bcp" Boost tool.


## Usage

**OS:**
Windows
Linux

**Toolchain:**
MSVC
GCC

**Command line:**
`cmake --list-presets`
`cmake --preset=<preset>`, where `<preset>` is the preset from the output of the previous command

**IDE:**
Choose the configure and build presets in your IDE.


## This project has been tested using the following systems:

**System #1**

OS: Windows 10 Pro 1809 (17763.107) x64
IDE: Microsoft Visual Studio Code (64-bit) Version: 1.79.2
Visual Studio Build Tools 2022 17.6.3
GCC 13.1.0
MSYS2 20230526
CMake 3.27.0
Ninja 1.11.1

**System #2**

OS: Windows 10 Pro 22H2 (19045.2364) x64
IDE: Microsoft Visual Studio Community 2022 (64-bit) Version 17.6.4
VCToolsVersion 14.36.32532
CMake 3.26.0
Ninja 1.11.0

**System #3**

OS: RebornOS Linux x86_64; Kernel: 6.1.34-1-lts; Shell: zsh 5.9
IDE: Code - OSS (VS Code) Version: 1.79.2
GCC 13.1.1 20230429
CMake 3.26.4
Ninja 1.11.1

0 comments on commit a291b8a

Please sign in to comment.