Skip to content

Commit 259753d

Browse files
committed
fix test presets
1 parent fff4273 commit 259753d

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ project(ocvsmd
1010
HOMEPAGE_URL https://github.com/OpenCyphal-Garage/opencyphal-vehicle-system-management-daemon
1111
)
1212

13+
enable_testing()
14+
1315
set(NO_STATIC_ANALYSIS OFF CACHE BOOL "disable static analysis")
1416

1517
set(CMAKE_CXX_STANDARD 14)

CMakePresets.json

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,40 +68,28 @@
6868
"displayName": "Linux OCVSMD (Debug)",
6969
"description": "Builds OCVSMD for Linux",
7070
"configurePreset": "OCVSMD-Linux",
71-
"configuration": "Debug",
72-
"targets": [
73-
"ocvsmd"
74-
]
71+
"configuration": "Debug"
7572
},
7673
{
7774
"name": "OCVSMD-Linux-Release",
7875
"displayName": "Linux OCVSMD (Release)",
7976
"description": "Builds OCVSMD for Linux",
8077
"configurePreset": "OCVSMD-Linux",
81-
"configuration": "Release",
82-
"targets": [
83-
"ocvsmd"
84-
]
78+
"configuration": "Release"
8579
},
8680
{
8781
"name": "OCVSMD-BSD-Debug",
8882
"displayName": "BSD OCVSMD (Debug)",
8983
"description": "Builds OCVSMD for BSD",
9084
"configurePreset": "OCVSMD-BSD",
91-
"configuration": "Debug",
92-
"targets": [
93-
"ocvsmd"
94-
]
85+
"configuration": "Debug"
9586
},
9687
{
9788
"name": "OCVSMD-BSD-Release",
9889
"displayName": "BSD OCVSMD (Release)",
9990
"description": "Builds OCVSMD for BSD",
10091
"configurePreset": "OCVSMD-BSD",
101-
"configuration": "Release",
102-
"targets": [
103-
"ocvsmd"
104-
]
92+
"configuration": "Release"
10593
}
10694
],
10795
"testPresets": [

test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
cmake_minimum_required(VERSION 3.27)
77

8-
enable_testing()
9-
108
include(FetchContent)
119
FetchContent_Declare(
1210
googletest

0 commit comments

Comments
 (0)