Skip to content

Commit b2786c7

Browse files
committed
Restored full project structure and source code from README at commit d4e5852
1 parent d4e5852 commit b2786c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+112
-218
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "vcpkg"]
2+
path = vcpkg
3+
url = https://github.com/Microsoft/vcpkg.git

CMakeLists.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
cmake_minimum_required(VERSION 3.25)
2-
project(Chain_of_Trust)
2+
project(Chain_of_Trust VERSION 1.0.0 LANGUAGES C CXX ASM)
3+
4+
option(BUILD_KERNEL "Build kernel driver" ON)
5+
option(BUILD_TESTS "Build tests" ON)
6+
7+
find_package(Detours CONFIG REQUIRED)
8+
find_package(GTest CONFIG REQUIRED)
9+
10+
add_subdirectory(src/edr_agent)
11+
add_subdirectory(src/common)
12+
if(BUILD_KERNEL)
13+
add_subdirectory(src/edr_kernel)
14+
endif()
15+
if(BUILD_TESTS)
16+
enable_testing()
17+
add_subdirectory(tests)
18+
endif()

CMakePresets.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,12 @@
33
"configurePresets": [
44
{
55
"name": "ci-windows",
6-
"displayName": "CI Build for Windows",
7-
"description": "Build preset for GitHub Actions on Windows",
86
"generator": "Visual Studio 17 2022",
97
"binaryDir": "${sourceDir}/out/build/${presetName}",
108
"architecture": "x64",
119
"cacheVariables": {
12-
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
10+
"CMAKE_TOOLCHAIN_FILE": "$env:VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"
1311
}
1412
}
1513
]
16-
}
17-
18-
19-
14+
}

Chain_of_Trust/.github/workflows/build.yml

Whitespace-only changes.

Chain_of_Trust/.github/workflows/package.yml

Whitespace-only changes.

Chain_of_Trust/.github/workflows/release.yml

Whitespace-only changes.

Chain_of_Trust/.github/workflows/sign.yml

Whitespace-only changes.

Chain_of_Trust/.gitignore

Whitespace-only changes.

Chain_of_Trust/CMakeLists.txt

Whitespace-only changes.

Chain_of_Trust/CMakePresets.json

Whitespace-only changes.

0 commit comments

Comments
 (0)