Changeset 2611 for trunk/kBuild/tools/VCC100X86.kmk
- Timestamp:
- Jul 27, 2012, 10:14:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC100X86.kmk
r2606 r2611 93 93 # General Properties used by kBuild 94 94 TOOL_VCC100X86_COBJSUFF ?= .obj 95 TOOL_VCC100X86_CFLAGS ?= -TC - c -nologo95 TOOL_VCC100X86_CFLAGS ?= -TC -nologo 96 96 TOOL_VCC100X86_CFLAGS.debug ?= -Zi 97 97 TOOL_VCC100X86_CFLAGS.release ?= -O2 … … 101 101 102 102 TOOL_VCC100X86_CXXOBJSUFF ?= .obj 103 TOOL_VCC100X86_CXXFLAGS ?= -TP - c -nologo103 TOOL_VCC100X86_CXXFLAGS ?= -TP -nologo 104 104 TOOL_VCC100X86_CXXFLAGS.debug ?= -Zi 105 105 TOOL_VCC100X86_CXXFLAGS.release ?= -O2 … … 137 137 TOOL_VCC100X86_COMPILE_C_DEPEND = 138 138 TOOL_VCC100X86_COMPILE_C_DEPORD = 139 TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) 140 ifdef KBUILD_USE_KOBJCACHE 141 TOOL_VCC100X86_COMPILE_C_USES_KOBJCACHE = 1 142 TOOL_VCC100X86_COMPILE_C_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) $(outbase).i 143 define TOOL_VCC100X86_COMPILE_C_CMDS 144 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 145 --kObjCache-cpp $(outbase).i\ 146 $(TOOL_VCC100X86_CC) -E\ 147 $(flags)\ 148 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 149 $(subst /,\\,$(abspath $(source))) \ 150 --kObjCache-cc $(obj)\ 151 $(TOOL_VCC100X86_CC) -c\ 152 $(flags)\ 153 -Fd$(outbase)-obj.pdb \ 154 -FD\ 155 -Fo$(obj)\ 156 $(outbase).i 157 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb) 158 endef 159 else # !KBUILD_USE_KOBJCACHE 139 160 TOOL_VCC100X86_COMPILE_C_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 140 TOOL_VCC100X86_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb)141 161 define TOOL_VCC100X86_COMPILE_C_CMDS 142 162 $(QUIET)$(TOOL_VCC100X86_CC) -c\ … … 148 168 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb) 149 169 endef 170 endif # !KBUILD_USE_KOBJCACHE 150 171 151 172 … … 165 186 TOOL_VCC100X86_COMPILE_CXX_DEPEND = 166 187 TOOL_VCC100X86_COMPILE_CXX_DEPORD = 188 TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb) 189 ifdef KBUILD_USE_KOBJCACHE 190 TOOL_VCC100X86_COMPILE_CXX_USES_KOBJCACHE = 1 191 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) $(outbase).ii 192 define TOOL_VCC100X86_COMPILE_CXX_CMDS 193 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -r\ 194 --kObjCache-cpp $(outbase).ii\ 195 $(TOOL_VCC100X86_CXX) -E\ 196 $(flags)\ 197 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 198 $(subst /,\\,$(abspath $(source))) \ 199 --kObjCache-cc $(obj)\ 200 $(TOOL_VCC100X86_CXX) -c\ 201 $(flags)\ 202 -Fd$(outbase)-obj.pdb \ 203 -FD\ 204 -Fo$(obj)\ 205 $(outbase).ii 206 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb) 207 endef 208 else # !KBUILD_USE_KOBJCACHE 167 209 TOOL_VCC100X86_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,idb) 168 TOOL_VCC100X86_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100X86_PDB, $(outbase)-obj,pdb)169 210 define TOOL_VCC100X86_COMPILE_CXX_CMDS 170 211 $(QUIET)$(TOOL_VCC100X86_CXX) -c\ … … 176 217 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100X86_PDB,$(outbase)-obj,idb) 177 218 endef 219 endif # !KBUILD_USE_KOBJCACHE 178 220 179 221 ## @todo configure the assembler template.
Note:
See TracChangeset
for help on using the changeset viewer.