Skip to content

Commit b3b40a1

Browse files
committed
Update schema.py
1 parent a612c93 commit b3b40a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cppython/plugins/cmake/schema.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class ConfigurePreset(CPPythonModel, extra='allow'):
5050
inherits: Annotated[
5151
str | list[str] | None, Field(description='The inherits field allows inheriting from other presets.')
5252
] = None
53+
binaryDir: Annotated[str | None, Field(description='The binary directory for the build output.')] = None
5354
cacheVariables: dict[str, None | bool | str | CacheVariable] | None = None
5455

5556

@@ -63,9 +64,7 @@ class CMakePresets(CPPythonModel, extra='allow'):
6364
include: Annotated[
6465
list[str] | None, Field(description='The include field allows inheriting from another preset.')
6566
] = None
66-
configurePresets: Annotated[list[ConfigurePreset], Field(description='The list of configure presets')] = [
67-
ConfigurePreset(name='default', inherits='cppython')
68-
]
67+
configurePresets: Annotated[list[ConfigurePreset] | None, Field(description='The list of configure presets')] = None
6968

7069

7170
class CMakeSyncData(SyncData):

0 commit comments

Comments
 (0)