Skip to content

Commit dfc9d06

Browse files
committed
disable build tools by default, we are a library now
1 parent 447cf9a commit dfc9d06

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.28)
22

3-
option(BUILD_TOOLS "Build the Collector and Mock" ON)
3+
option(BUILD_TOOLS "Build the Collector and Mock" OFF)
44

55
# features that are installed via vcpkg
66
if (BUILD_TOOLS)

CMakePresets.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"generator": "Ninja",
88
"binaryDir": "${sourceDir}/cmake-build/${presetName}",
99
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
10+
"cacheVariables": {
11+
"BUILD_TOOLS": "ON"
12+
},
1013
"hidden": true
1114
},
1215
{

0 commit comments

Comments
 (0)