Changeset 2611 for trunk/kBuild/tools/VCC100AMD64.kmk
- Timestamp:
- Jul 27, 2012, 10:14:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC100AMD64.kmk
r2609 r2611 92 92 93 93 TOOL_VCC100AMD64_COBJSUFF ?= .obj 94 TOOL_VCC100AMD64_CFLAGS ?= -TC - c -nologo94 TOOL_VCC100AMD64_CFLAGS ?= -TC -nologo 95 95 TOOL_VCC100AMD64_CFLAGS.debug ?= -Od -Zi 96 96 TOOL_VCC100AMD64_CFLAGS.release ?= -O2 … … 100 100 101 101 TOOL_VCC100AMD64_CXXOBJSUFF ?= .obj 102 TOOL_VCC100AMD64_CXXFLAGS ?= -TP - c -nologo102 TOOL_VCC100AMD64_CXXFLAGS ?= -TP -nologo 103 103 TOOL_VCC100AMD64_CXXFLAGS.debug ?= -Od -Zi 104 104 TOOL_VCC100AMD64_CXXFLAGS.release ?= -O2 … … 136 136 TOOL_VCC100AMD64_COMPILE_C_DEPEND = 137 137 TOOL_VCC100AMD64_COMPILE_C_DEPORD = 138 TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb) 139 ifdef KBUILD_USE_KOBJCACHE 140 TOOL_VCC100AMD64_COMPILE_C_USES_KOBJCACHE = 1 141 TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).i 142 define TOOL_VCC100AMD64_COMPILE_C_CMDS 143 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 144 --kObjCache-cpp $(outbase).i\ 145 $(TOOL_VCC100AMD64_CC) -E\ 146 $(flags)\ 147 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 148 $(subst /,\\,$(abspath $(source))) \ 149 --kObjCache-cc $(obj)\ 150 $(TOOL_VCC100AMD64_CC) -c\ 151 $(flags)\ 152 -Fd$(outbase)-obj.pdb \ 153 -FD\ 154 -Fo$(obj)\ 155 $(outbase).i 156 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb) 157 endef 158 else # !KBUILD_USE_KOBJCACHE 138 159 TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) 139 TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)140 160 define TOOL_VCC100AMD64_COMPILE_C_CMDS 141 161 $(QUIET)$(TOOL_VCC100AMD64_CC) -c\ … … 147 167 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb) 148 168 endef 169 endif # !KBUILD_USE_KOBJCACHE 149 170 150 171 … … 164 185 TOOL_VCC100AMD64_COMPILE_CXX_DEPEND = 165 186 TOOL_VCC100AMD64_COMPILE_CXX_DEPORD = 187 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb) 166 188 ifdef KBUILD_USE_KOBJCACHE 167 189 TOOL_VCC100AMD64_COMPILE_CXX_USES_KOBJCACHE = 1 168 190 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) $(outbase).ii 169 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)170 if 1171 define TOOL_VCC100AMD64_COMPILE_CXX_CMDS172 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\173 --named-pipe-compile $(subst /,\\,//./pipe/kObjCache/$(translate $(outbase),:,_)/$(notdir $(source)))\174 --kObjCache-cpp $(outbase).ii\175 $(TOOL_VCC100AMD64_CXX) -E\176 $(flags)\177 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\178 $(subst /,\\,$(abspath $(source))) \179 --kObjCache-cc $(obj)\180 windbg $(TOOL_VCC100AMD64_CXX) -c -TP\181 $(flags)\182 -Fd$(outbase)-obj.pdb \183 -FD\184 -Fo$(obj)\185 $(subst /,\\,//./pipe/kObjCache/$(translate $(outbase),:,_)/$(notdir $(source)))186 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)187 endef188 else189 191 define TOOL_VCC100AMD64_COMPILE_CXX_CMDS 190 192 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ … … 195 197 $(subst /,\\,$(abspath $(source))) \ 196 198 --kObjCache-cc $(obj)\ 197 $(TOOL_VCC100AMD64_CXX) -c -TP\199 $(TOOL_VCC100AMD64_CXX) -c\ 198 200 $(flags)\ 199 201 -Fd$(outbase)-obj.pdb \ … … 203 205 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb) 204 206 endef 205 endif206 207 else # !KBUILD_USE_KOBJCACHE 207 208 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb) 208 TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)209 209 define TOOL_VCC100AMD64_COMPILE_CXX_CMDS 210 210 $(QUIET)$(TOOL_VCC100AMD64_CXX) -c\ … … 217 217 endef 218 218 endif # !KBUILD_USE_KOBJCACHE 219 220 ## @todo configure the assembler template. 219 221 220 222 ## Compile resource source.
Note:
See TracChangeset
for help on using the changeset viewer.