Changeset 2611
- Timestamp:
- Jul 27, 2012, 10:14:26 AM (13 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 3 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. -
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. -
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.