Changeset 2611 for trunk/kBuild/tools/VCC100.kmk
- Timestamp:
- Jul 27, 2012, 10:14:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC100.kmk
r2606 r2611 105 105 106 106 TOOL_VCC100_COBJSUFF ?= .obj 107 TOOL_VCC100_CFLAGS ?= -TC - c -nologo107 TOOL_VCC100_CFLAGS ?= -TC -nologo 108 108 TOOL_VCC100_CFLAGS.debug ?= -Od -Zi 109 109 TOOL_VCC100_CFLAGS.release ?= -O2 … … 113 113 114 114 TOOL_VCC100_CXXOBJSUFF ?= .obj 115 TOOL_VCC100_CXXFLAGS ?= -TP - c -nologo115 TOOL_VCC100_CXXFLAGS ?= -TP -nologo 116 116 TOOL_VCC100_CXXFLAGS.debug ?= -Od -Zi 117 117 TOOL_VCC100_CXXFLAGS.release ?= -O2 … … 155 155 TOOL_VCC100_COMPILE_C_DEPEND = 156 156 TOOL_VCC100_COMPILE_C_DEPORD = 157 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) 158 ifdef KBUILD_USE_KOBJCACHE 159 TOOL_VCC100_COMPILE_C_USES_KOBJCACHE = 1 160 TOOL_VCC100_COMPILE_C_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) $(outbase).i 161 define TOOL_VCC100_COMPILE_C_CMDS 162 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 163 --kObjCache-cpp $(outbase).i\ 164 $(TOOL_VCC100_CC) -E\ 165 $(flags)\ 166 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 167 $(subst /,\\,$(abspath $(source))) \ 168 --kObjCache-cc $(obj)\ 169 $(TOOL_VCC100_C) -c\ 170 $(flags)\ 171 -Fd$(outbase)-obj.pdb \ 172 -FD\ 173 -Fo$(obj)\ 174 $(outbase).i 175 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb) 176 endef 177 else # !KBUILD_USE_KOBJCACHE 157 178 TOOL_VCC100_COMPILE_C_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 158 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb)159 179 define TOOL_VCC100_COMPILE_C_CMDS 160 180 $(QUIET)$(TOOL_VCC100_CC) -c\ … … 166 186 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb) 167 187 endef 188 endif # !KBUILD_USE_KOBJCACHE 168 189 169 190 … … 183 204 TOOL_VCC100_COMPILE_CXX_DEPEND = 184 205 TOOL_VCC100_COMPILE_CXX_DEPORD = 206 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) 207 ifdef KBUILD_USE_KOBJCACHE 208 TOOL_VCC100_COMPILE_CXX_USES_KOBJCACHE = 1 209 TOOL_VCC100_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) $(outbase).ii 210 define TOOL_VCC100_COMPILE_CXX_CMDS 211 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 212 --kObjCache-cpp $(outbase).ii\ 213 $(TOOL_VCC100_CXX) -E\ 214 $(flags)\ 215 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 216 $(subst /,\\,$(abspath $(source))) \ 217 --kObjCache-cc $(obj)\ 218 $(TOOL_VCC100_CXX) -c\ 219 $(flags)\ 220 -Fd$(outbase)-obj.pdb \ 221 -FD\ 222 -Fo$(obj)\ 223 $(outbase).ii 224 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb) 225 endef 226 else # !KBUILD_USE_KOBJCACHE 185 227 TOOL_VCC100_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 186 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb)187 228 define TOOL_VCC100_COMPILE_CXX_CMDS 188 229 $(QUIET)$(TOOL_VCC100_CXX) -c\ … … 194 235 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb) 195 236 endef 196 237 endif # !KBUILD_USE_KOBJCACHE 238 239 ## @todo configure the assembler template. 197 240 198 241 ## Compile resource source.
Note:
See TracChangeset
for help on using the changeset viewer.