wdk - automating windows driver builds -


we have printer driver need build os's windows xp windows 8, both x86 , x64 versions. can manually using wdk free build environments, need automate process - start batch script , have builds ready.

does know how this?

command-line windows x86/x64 debug/release , various os platforms differ in enviroment variables. scripts setting environment variables available in ddk or visual studio. (to find out script names check properties of corrseponding command window shortcuts.) problem comes down writing windows batch file setting environment variables , invoking build commands 1 one. environment variables each next platform overwrite ones previous platform, safe can start each build in separate clean cmd.exe process. here main script:

start /w "cmd /c build_winxp_x86_debug.cmd" start /w "cmd /c build_winxp_x64_debug.cmd" ... start /w "cmd /c build_win8_x86.cmd" start /w "cmd /c build_win8_x64.cmd" 

start /w waits spawned cmd.exe process termination before executing next line. cmd /c terminates when corresponding build script completes. example of build script:

@rem script setting environment variables ddk ddkpath\setenv.bat xp x86 dbg @rem build commands cd your_driver_dir build -cz 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -