Closed mrexodia closed 1 year ago
//cmake/FindWdk.cmake cmake-before="""list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")""" [find-package] WDK = {} [target.drv] link-libraries = ["WDK"] ///
I set it up like this and found that the driver cannot be compiled. I don’t know how to refer to wdk_add_driver in findwdk in toml
wdk
A template is available here: https://github.com/build-cpp/wdk_template
Example: https://github.com/build-cpp/cmkr/blob/bcbc9d2b20827322b4248772156f347356e62514/tests/driver/cmake.toml