Hi All,
Currently I am working on a Windows Universal Driver project.
I am trying to automate the build using CMake and Python. But I don’t know how to add the platform toolset “WindowsApplicationForDrivers10.0” and DriverTargetPlatform as “Universal” in CMake file.
Any suggestions ?
Regards,
Rajendra
Install the components required including VS, or indeed use the EWDK.
For VS write a simple psh or bat script that invokes msbuild on your
project after getting the correct environment variables using vsvars32.bat.
For example, VS2015 build, psh: Invoke-CmdScript
“$env:vs140comntools\vsvars32.bat”
Then just invoke msbuild with the appropriate settings for your solution.
msbuild <your.sln> /t:Build /p:configuratoin=Release /p:platform=x64
Mark Roddy</your.sln>