Changeset 2951 for trunk/kBuild/tools/VCC100.kmk
- Timestamp:
- Sep 21, 2016, 1:14:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC100.kmk
r2795 r2951 163 163 TOOL_VCC100_COMPILE_C_DEPEND = 164 164 TOOL_VCC100_COMPILE_C_DEPORD = 165 ifdef KBUILD_USE_KOBJCACHE 166 TOOL_VCC100_COMPILE_C_USES_KOBJCACHE = 1 167 TOOL_VCC100_COMPILE_C_OUTPUT = $(outbase).i 168 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = 169 define TOOL_VCC100_COMPILE_C_CMDS 170 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 171 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 172 --kObjCache-cpp $(outbase).i\ 173 $(TOOL_VCC100_CC) -E\ 174 $(subst -Zi,-Z7,$(flags))\ 175 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 176 $(subst /,\\,$(abspath $(source))) \ 177 --kObjCache-cc $(obj)\ 178 $(TOOL_VCC100_CC) -c\ 179 $(subst -Zi,-Z7,$(flags))\ 180 -Fo$(obj)\ 181 $(outbase).i 182 endef 183 else # !KBUILD_USE_KOBJCACHE 184 TOOL_VCC100_COMPILE_C_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 185 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) 165 TOOL_VCC100_COMPILE_C_OUTPUT = 166 TOOL_VCC100_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 186 167 define TOOL_VCC100_COMPILE_C_CMDS 187 168 $(QUIET)$(TOOL_VCC100_CC) -c\ 188 169 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 189 170 -Fd$(outbase)-obj.pdb \ 190 -FD\191 171 -Fo$(obj)\ 192 172 $(subst /,\\,$(abspath $(source))) 193 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb) 194 endef 195 endif # !KBUILD_USE_KOBJCACHE 173 $(QUIET)$(DEP_OBJ) -f -s -q -o $(dep) -t $(obj) $(obj) 174 endef 196 175 197 176 … … 211 190 TOOL_VCC100_COMPILE_CXX_DEPEND = 212 191 TOOL_VCC100_COMPILE_CXX_DEPORD = 213 ifdef KBUILD_USE_KOBJCACHE 214 TOOL_VCC100_COMPILE_CXX_USES_KOBJCACHE = 1 215 TOOL_VCC100_COMPILE_CXX_OUTPUT = $(outbase).ii 216 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = 217 define TOOL_VCC100_COMPILE_CXX_CMDS 218 $(QUIET)$(KOBJCACHE) -f $(outbase).koc -d $(PATH_OBJCACHE) -t $(bld_trg).$(bld_trg_arch) -O2 -r\ 219 --make-dep-fix-case --make-dep-gen-stubs --make-dep-quiet --make-dep-file $(dep)\ 220 --kObjCache-cpp $(outbase).ii\ 221 $(TOOL_VCC100_CXX) -E\ 222 $(subst -Zi,-Z7,$(flags))\ 223 $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 224 $(subst /,\\,$(abspath $(source))) \ 225 --kObjCache-cc $(obj)\ 226 $(TOOL_VCC100_CXX) -c\ 227 $(subst -Zi,-Z7,$(flags))\ 228 -Fo$(obj)\ 229 $(outbase).ii 230 endef 231 else # !KBUILD_USE_KOBJCACHE 232 TOOL_VCC100_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 233 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) 192 TOOL_VCC100_COMPILE_CXX_OUTPUT = 193 TOOL_VCC100_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC100_PDB, $(outbase)-obj,idb) 234 194 define TOOL_VCC100_COMPILE_CXX_CMDS 235 195 $(QUIET)$(TOOL_VCC100_CXX) -c\ 236 196 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 237 197 -Fd$(outbase)-obj.pdb \ 238 -FD\239 198 -Fo$(obj)\ 240 199 $(subst /,\\,$(abspath $(source))) 241 $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100_PDB,$(outbase)-obj,idb) 242 endef 243 endif # !KBUILD_USE_KOBJCACHE 200 $(QUIET)$(DEP_OBJ) -f -s -q -o $(dep) -t $(obj) $(obj) 201 endef 244 202 245 203 ## @todo configure the assembler template.
Note:
See TracChangeset
for help on using the changeset viewer.