File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ SharedAllocator interface is similar to `std::allocator` interface
5
5
so ` std::allocator ` can be easily replaced by ` salloc::shared_allocator ` (or by other ` salloc:: ` allocators).
6
6
7
7
### adding shared_allocator to your project with CMake
8
- 1 . Copy files include/shared_allocator/* .* to your include directory
8
+ 1 . Copy files include/shared_allocator/` *.* ` to your include directory
9
9
(for example, include/third_party/shared_allocator or just include/shared_allocator).
10
- 2 . Copy files source/* .* to your sources directory (for example, source/shared_allocator).
10
+ 2 . Copy files source/` *.* ` to your sources directory (for example, source/shared_allocator).
11
11
3 . Include source/shared_allocator/CMakeLists.txt into your main CMakeLists.txt: ` add_subdirectory(source/shared_allocator) `
12
12
4 . Add path to shared_allocator header files into additional include directories: ` include_directories(include/third_party) `
13
13
to make it possible for your compiler to find includes like ` #include "shared_allocator/shared_allocator.hpp" ` .
14
14
5 . Add link to shared_allocator library into every project's CMakeLists.txt that would be using shared_allocator<T >
15
- (or shared_allocate function and so on): ` target_link_libraries( ${PROJECT_NAME} shared_allocator) `
15
+ (or shared_allocate function and so on): ` target_link_libraries(${PROJECT_NAME} shared_allocator) `
16
16
17
17
### example code
18
18
```
You can’t perform that action at this time.
0 commit comments