Skip to content

Commit 057a726

Browse files
committed
🔥 [cmake] remove boost headers
1 parent 4a3786f commit 057a726

File tree

18 files changed

+7
-784
lines changed

18 files changed

+7
-784
lines changed

.github/workflows/build_meson.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
# Distributed under the Boost Software License, Version 1.0.
55
# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
66
#
7-
cmake_minimum_required(VERSION 3.10)
7+
cmake_minimum_required(VERSION 3.12)
88
project(Boost.DI LANGUAGES CXX)
99

1010
include(GNUInstallDirs)
1111

12-
find_package(Boost REQUIRED COMPONENTS headers)
13-
1412
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1513

1614
if(NOT DEFINED CMAKE_CXX_STANDARD)
@@ -25,13 +23,10 @@ target_include_directories(
2523
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2624
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/extension/include>
2725
)
28-
target_link_libraries(${PROJECT_NAME} INTERFACE Boost::headers)
29-
3026
option(BOOST_DI_OPT_BUILD_TESTS "Build and perform Boost.DI tests" ${PROJECT_IS_TOP_LEVEL})
3127

3228
if(BOOST_DI_OPT_BUILD_TESTS)
3329
enable_testing()
34-
add_subdirectory(extension/test)
3530
add_subdirectory(test)
3631
endif()
3732

Makefile

Lines changed: 0 additions & 74 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
---------------------------------------
88

9-
# [Boost::ext].DI
9+
# boost-ext.di
1010

1111
Your C++14 **one header only** Dependency Injection library with no dependencies
1212

@@ -19,7 +19,7 @@ Your C++14 **one header only** Dependency Injection library with no dependencies
1919
### Quick start
2020

2121
#### Download
22-
> [Boost::ext].DI requires only one file. Get the latest header [here!](https://raw.githubusercontent.com/boost-ext/di/cpp14/include/boost/di.hpp)
22+
> boost-ext.di requires only one file. Get the latest header [here!](https://raw.githubusercontent.com/boost-ext/di/cpp14/include/boost/di.hpp)
2323
2424
#### Include
2525
```cpp
@@ -273,7 +273,7 @@ public:
273273
example(Exchange exchange, Engine engine)
274274
: exchange(std::move(exchange)), engine(std::move(engine))
275275
{ }
276-
276+
277277
private:
278278
Exchange exchange;
279279
Engine engine;
@@ -448,4 +448,4 @@ retq
448448

449449
---
450450

451-
**Disclaimer** `[Boost::ext].DI` is not an official Boost library.
451+
**Disclaimer** `boost-ext.di` is not an official Boost library.

benchmark/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,3 @@ ninject: gen_ninject
9494
cd .ninject && time $(SC) -o+ /r:Ninject.dll ninject.cs
9595
cd .ninject && time mono --aot=full ./ninject.exe
9696
cd .ninject && time mono ./ninject.exe || exit 1
97-

conanfile.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

example/Jamfile.v2

Lines changed: 0 additions & 152 deletions
This file was deleted.

0 commit comments

Comments
 (0)