Skip to content

Commit

Permalink
Better build/dependencies documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrasseur-aneo committed Sep 13, 2023
1 parent a60e56c commit bbe4465
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 53 deletions.
2 changes: 1 addition & 1 deletion packages/cpp/ArmoniK.Api.Common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ include(FetchContent)

FETCHCONTENT_DECLARE(
fmt
URL ${SRC_FMT}
URL "${SRC_FMT}"
TIMEOUT 180
)

Expand Down
2 changes: 1 addition & 1 deletion packages/cpp/ArmoniK.Api.Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set_property(TARGET ${PROJECT_NAME} APPEND PROPERTY
include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
URL "${SRC_GTEST}"
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
Expand Down
17 changes: 17 additions & 0 deletions packages/cpp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ArmoniK Api Cpp

## Build requirements
- cmake 3.22+
- C++ compiler with C++17 support
- grpc 1.54 - 1.56.2
- protobuf
- fmt 10.1.0 (https://github.com/fmtlib/fmt/archive/refs/tags/10.1.0.tar.gz)
- simdjson 3.2.2 (https://github.com/simdjson/simdjson/archive/refs/tags/v3.2.2.tar.gz)
- gtest (https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip) (if BUILD_TEST=ON)

## How to build
```shell
cmake -S . -B out
cmake --build out
cmake --install out
```
38 changes: 0 additions & 38 deletions packages/cpp/cmake/downloader.cmake

This file was deleted.

13 changes: 0 additions & 13 deletions packages/cpp/cmake/downloader.ps1

This file was deleted.

0 comments on commit bbe4465

Please sign in to comment.