Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Adding vcpkg to project #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ _deps
CMakeDoxyfile.in
CMakeDoxygenDefaults.cmake

# Vcpkg

vcpkg_installed/*

# Python cache
__pycache__

Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/microsoft/vcpkg.git
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ cmake_minimum_required(VERSION 3.16)

########################################################################################################################

# sets vcpkg as the dependency manager for the project
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake" CACHE STRING "")

project(robocin LANGUAGES CXX)

########################################################################################################################
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,23 @@ In progress...

In progress...

### Submodules

On the start of the project make sure to init all the submodules by calling `git submodule init` and update it to the lastest updated version with `git submodule update`.

<a name="build"></a>

## Building

[CMake](https://cmake.org/) is the official build system of the `robocin-cpp` project.
[Vcpkg](https://vcpkg.io/en/) supported dependency manager for the `robocin-cpp` project.

<a name="codemap"></a>

## Codemap

- [`utility`](robocin/utility): a collection of utility and helper code.
- [`geometry`](robocin/geometry): a collection of geometric classes;
- [`utility`](robocin/utility): a collection of utility and helper code;

<a name="contributing"></a>

Expand Down
1 change: 1 addition & 0 deletions vcpkg
Submodule vcpkg added at e8c2a0
8 changes: 8 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "robocin-cpp",
"version-string": "0.0.1",
"dependencies": [
"gtest",
"benchmark"
]
}