You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
376 B
20 lines
376 B
3 years ago
|
# A project using templates to build a driver.
|
||
|
|
||
|
[project]
|
||
|
name = "driver"
|
||
|
description = "Driver example"
|
||
|
cmake-after = "list(APPEND CMAKE_MODULE_PATH cmake)"
|
||
|
|
||
|
[find-package]
|
||
|
WDK = { required = true }
|
||
|
|
||
|
[template.driver]
|
||
|
type = "shared"
|
||
|
add-function = "wdk_add_driver"
|
||
|
pass-sources-to-add-function = true
|
||
|
|
||
|
[target.cool-driver]
|
||
|
type = "driver"
|
||
|
sources = ["src/DriverEntry.cpp"]
|
||
|
|