祸根二、making help include file...
|
source=.\resource.h !if "$(cfg)" == "test - win32 release" # prop ignore_default_tool 1 # begin custom build - making help include file... targetname=test inputpath=.\resource.h "hlp\$(targetname).hm" : $(source) "$(intdir)" "$(outdir)" echo. >"hlp\$(targetname).hm" echo // commands (id_* and idm_*) >>"hlp\$(targetname).hm" makehm id_,hid_,0x10000 idm_,hidm_,0x10000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // prompts (idp_*) >>"hlp\$(targetname).hm" makehm idp_,hidp_,0x30000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // resources (idr_*) >>"hlp\$(targetname).hm" makehm idr_,hidr_,0x20000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // dialogs (idd_*) >>"hlp\$(targetname).hm" makehm idd_,hidd_,0x20000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // frame controls (idw_*) >>"hlp\$(targetname).hm" makehm idw_,hidw_,0x50000 resource.h >>"hlp\$(targetname).hm"
# end custom build !elseif "$(cfg)" == "test - win32 debug" # prop ignore_default_tool 1 # begin custom build - making help include file... targetname=test inputpath=.\resource.h "hlp\$(targetname).hm" : $(source) "$(intdir)" "$(outdir)" echo. >"hlp\$(targetname).hm" echo // commands (id_* and idm_*) >>"hlp\$(targetname).hm" makehm id_,hid_,0x10000 idm_,hidm_,0x10000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // prompts (idp_*) >>"hlp\$(targetname).hm" makehm idp_,hidp_,0x30000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // resources (idr_*) >>"hlp\$(targetname).hm" makehm idr_,hidr_,0x20000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // dialogs (idd_*) >>"hlp\$(targetname).hm" makehm idd_,hidd_,0x20000 resource.h >>"hlp\$(targetname).hm" echo. >>"hlp\$(targetname).hm" echo // frame controls (idw_*) >>"hlp\$(targetname).hm" makehm idw_,hidw_,0x50000 resource.h >>"hlp\$(targetname).hm"
本文关键:编译帮助 帮助制作
|