Changeset 3370 in kBuild
- Timestamp:
- Jun 10, 2020 10:45:05 AM (5 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC142.kmk
r3342 r3370 122 122 TOOL_VCC142_MT ?= $(EXEC_X86_WIN32) $(call TOOL_VCC142_FN_FIND_SDK_TOOL,mt.exe,[Mm][Tt].[Ee][Xx][Ee],TOOL_VCC142_MT_CACHED) 123 123 124 undefine TOOL_VCC142_USE_KSUBMIT # for now125 124 ifdef TOOL_VCC142_USE_KSUBMIT 126 125 ifeq ($(KBUILD_HOST),win) 127 ifneq ($(substr $(qdir un,$(PATH_TOOL_VCC142_BIN)),-3),64/) 126 ifeq ($(findstring /HostX86/,$(PATH_TOOL_VCC142AMD64_BIN)),/HostX86/) 127 TOOL_VCC142_KSUBMIT ?= kmk_builtin_kSubmit --32-bit 128 else 128 129 TOOL_VCC142_KSUBMIT ?= kmk_builtin_kSubmit --64-bit 129 else130 TOOL_VCC142_KSUBMIT ?= kmk_builtin_kSubmit --32-bit131 130 endif 132 131 ifdef PATH_TOOL_VCC142_DLL_BIN … … 272 271 # @param $(outbase) Output basename (full). Use this for list files and such. 273 272 # @param $(objsuff) Object suffix. 273 # @note The -d1scalableinclude- option disables include directory caching as the cache goes 274 # stale in kWorker. Besides, kWorker does it's own caching, so it is not necessary. 274 275 TOOL_VCC142_COMPILE_C_DEPEND = 275 276 TOOL_VCC142_COMPILE_C_DEPORD = … … 280 281 define TOOL_VCC142_COMPILE_C_CMDS 281 282 $(QUIET)$(TOOL_VCC142_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 282 -- $(TOOL_VCC142_CC) -c \283 -- $(TOOL_VCC142_CC) -c -d1scalableinclude-\ 283 284 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 284 285 -Fd$(outbase)-obj.pdb \ … … 288 289 else 289 290 define TOOL_VCC142_COMPILE_C_CMDS 290 $(QUIET)$(TOOL_VCC142_SETUP_ENV) 291 $(QUIET)$(TOOL_VCC142_SETUP_ENV)$(TOOL_VCC142_CC) -c\ 291 292 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 292 293 -Fd$(outbase)-obj.pdb \ … … 311 312 # @param $(outbase) Output basename (full). Use this for list files and such. 312 313 # @param $(objsuff) Object suffix. 314 # @note The -d1scalableinclude- option disables include directory caching as the cache goes 315 # stale in kWorker. Besides, kWorker does it's own caching, so it is not necessary. 316 # ('-d1' means it's passed to c1.dll/c1xx.dll and 'scalableinclude-' is the actual option.) 313 317 TOOL_VCC142_COMPILE_CXX_DEPEND = $($(target)_1_VCC_PCH_FILE) 314 318 TOOL_VCC142_COMPILE_CXX_DEPORD = … … 320 324 define TOOL_VCC142_COMPILE_CXX_CMDS 321 325 $(QUIET)$(TOOL_VCC142_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 322 -- $(TOOL_VCC142_CXX) -c \326 -- $(TOOL_VCC142_CXX) -c -d1scalableinclude-\ 323 327 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 324 328 $(if-expr defined($(target)_PCH_HDR)\ … … 330 334 else 331 335 define TOOL_VCC142_COMPILE_CXX_CMDS 332 $(QUIET)$(TOOL_VCC142_SETUP_ENV) 336 $(QUIET)$(TOOL_VCC142_SETUP_ENV)$(TOOL_VCC142_CXX) -c\ 333 337 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 334 338 $(if-expr defined($(target)_PCH_HDR)\ … … 365 369 $(QUIET)$(RM) -f -- $($(target)_1_VCC_PCH_FILE) $($(target)_1_VCC_COMMON_OBJ_PDB) 366 370 $(QUIET)$(TOOL_VCC142_KSUBMIT) --no-pch-caching -P $(DEP_OBJ_INT) -f -s -q -e .pch -o $(dep) -t $(obj) $(obj)\ 367 -- $(TOOL_VCC142_CXX) -c -Yc \371 -- $(TOOL_VCC142_CXX) -c -Yc -d1scalableinclude-\ 368 372 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 369 373 -Fp$($(target)_1_VCC_PCH_FILE) \ … … 376 380 define TOOL_VCC142-PCH_COMPILE_CXX_CMDS 377 381 $(QUIET)$(RM) -f -- $($(target)_1_VCC_PCH_FILE) $($(target)_1_VCC_COMMON_OBJ_PDB) 378 $(QUIET)$(TOOL_VCC142_SETUP_ENV) 382 $(QUIET)$(TOOL_VCC142_SETUP_ENV)$(TOOL_VCC142_CXX) -c -Yc\ 379 383 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 380 384 -Fp$($(target)_1_VCC_PCH_FILE) \ -
trunk/kBuild/tools/VCC142AMD64.kmk
r3346 r3370 92 92 TOOL_VCC142AMD64_MT ?= $(EXEC_X86_WIN32) $(call TOOL_VCC142_FN_FIND_SDK_TOOL,mt.exe,[Mm][Tt].[Ee][Xx][Ee],TOOL_VCC142_MT_CACHED) 93 93 94 undefine TOOL_VCC142AMD64_USE_KSUBMIT # for now95 94 ifdef TOOL_VCC142AMD64_USE_KSUBMIT 96 95 ifeq ($(KBUILD_HOST),win) 97 ifneq ($(substr $(qdir un,$(PATH_TOOL_VCC142AMD64_BIN)),-3),64/) 96 ifeq ($(findstring /HostX86/,$(PATH_TOOL_VCC142AMD64_BIN)),/HostX86/) 97 TOOL_VCC142AMD64_KSUBMIT ?= kmk_builtin_kSubmit --32-bit 98 else 98 99 TOOL_VCC142AMD64_KSUBMIT ?= kmk_builtin_kSubmit --64-bit 99 else100 TOOL_VCC142AMD64_KSUBMIT ?= kmk_builtin_kSubmit --32-bit101 100 endif 102 101 ifdef PATH_TOOL_VCC142AMD64_DLL_BIN … … 174 173 # @param $(outbase) Output basename (full). Use this for list files and such. 175 174 # @param $(objsuff) Object suffix. 175 # @note The -d1scalableinclude- option disables include directory caching as the cache goes 176 # stale in kWorker. Besides, kWorker does it's own caching, so it is not necessary. 176 177 TOOL_VCC142AMD64_COMPILE_C_DEPEND = 177 178 TOOL_VCC142AMD64_COMPILE_C_DEPORD = … … 182 183 define TOOL_VCC142AMD64_COMPILE_C_CMDS 183 184 $(QUIET)$(TOOL_VCC142AMD64_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 184 -- $(TOOL_VCC142AMD64_CC) -c \185 -- $(TOOL_VCC142AMD64_CC) -c -d1scalableinclude-\ 185 186 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 186 187 -Fd$(outbase)-obj.pdb \ … … 213 214 # @param $(outbase) Output basename (full). Use this for list files and such. 214 215 # @param $(objsuff) Object suffix. 216 # @note The -d1scalableinclude- option disables include directory caching as the cache goes 217 # stale in kWorker. Besides, kWorker does it's own caching, so it is not necessary. 218 # ('-d1' means it's passed to c1.dll/c1xx.dll and 'scalableinclude-' is the actual option.) 215 219 TOOL_VCC142AMD64_COMPILE_CXX_DEPEND = $($(target)_1_VCC_PCH_FILE) 216 220 TOOL_VCC142AMD64_COMPILE_CXX_DEPORD = … … 222 226 define TOOL_VCC142AMD64_COMPILE_CXX_CMDS 223 227 $(QUIET)$(TOOL_VCC142AMD64_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 224 -- $(TOOL_VCC142AMD64_CXX) -c \228 -- $(TOOL_VCC142AMD64_CXX) -c -d1scalableinclude-\ 225 229 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 226 230 $(if-expr defined($(target)_PCH_HDR)\ … … 267 271 $(QUIET)$(RM) -f -- $($(target)_1_VCC_PCH_FILE) $($(target)_1_VCC_COMMON_OBJ_PDB) 268 272 $(QUIET)$(TOOL_VCC142AMD64_KSUBMIT) --no-pch-caching -P $(DEP_OBJ_INT) -f -s -q -e .pch -o $(dep) -t $(obj) $(obj)\ 269 -- $(TOOL_VCC142AMD64_CXX) -c -Yc \273 -- $(TOOL_VCC142AMD64_CXX) -c -Yc -d1scalableinclude-\ 270 274 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 271 275 -Fp$($(target)_1_VCC_PCH_FILE) \ -
trunk/kBuild/tools/VCC142X86.kmk
r3346 r3370 92 92 TOOL_VCC142X86_MT ?= $(EXEC_X86_WIN32) $(call TOOL_VCC142_FN_FIND_SDK_TOOL,mt.exe,[Mm][Tt].[Ee][Xx][Ee],TOOL_VCC142_MT_CACHED) 93 93 94 undefine TOOL_VCC142X86_USE_KSUBMIT # for now95 94 ifdef TOOL_VCC142X86_USE_KSUBMIT 96 95 ifeq ($(KBUILD_HOST),win) 97 ifneq ($(substr $(qdir un,$(PATH_TOOL_VCC142X86_BIN)),-3),64/) 96 ifeq ($(findstring /HostX86/,$(PATH_TOOL_VCC142X86_BIN)),/HostX86/) 97 TOOL_VCC142X86_KSUBMIT ?= kmk_builtin_kSubmit --32-bit 98 else 98 99 TOOL_VCC142X86_KSUBMIT ?= kmk_builtin_kSubmit --64-bit 99 else100 TOOL_VCC142X86_KSUBMIT ?= kmk_builtin_kSubmit --32-bit101 100 endif 102 101 ifdef PATH_TOOL_VCC142X86_DLL_BIN … … 174 173 # @param $(outbase) Output basename (full). Use this for list files and such. 175 174 # @param $(objsuff) Object suffix. 175 # @note The -d1scalableinclude- option disables include directory caching as the cache goes 176 # stale in kWorker. Besides, kWorker does it's own caching, so it is not necessary. 176 177 TOOL_VCC142X86_COMPILE_C_DEPEND = 177 178 TOOL_VCC142X86_COMPILE_C_DEPORD = … … 182 183 define TOOL_VCC142X86_COMPILE_C_CMDS 183 184 $(QUIET)$(TOOL_VCC142X86_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 184 -- $(TOOL_VCC142X86_CC) -c \185 -- $(TOOL_VCC142X86_CC) -c -d1scalableinclude-\ 185 186 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 186 187 -Fd$(outbase)-obj.pdb \ … … 213 214 # @param $(outbase) Output basename (full). Use this for list files and such. 214 215 # @param $(objsuff) Object suffix. 216 # @note The -d1scalableinclude- option disables include directory caching as the cache goes 217 # stale in kWorker. Besides, kWorker does it's own caching, so it is not necessary. 218 # ('-d1' means it's passed to c1.dll/c1xx.dll and 'scalableinclude-' is the actual option.) 215 219 TOOL_VCC142X86_COMPILE_CXX_DEPEND = $($(target)_1_VCC_PCH_FILE) 216 220 TOOL_VCC142X86_COMPILE_CXX_DEPORD = … … 222 226 define TOOL_VCC142X86_COMPILE_CXX_CMDS 223 227 $(QUIET)$(TOOL_VCC142X86_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\ 224 -- $(TOOL_VCC142X86_CXX) -c \228 -- $(TOOL_VCC142X86_CXX) -c -d1scalableinclude-\ 225 229 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 226 230 $(if-expr defined($(target)_PCH_HDR)\ … … 267 271 $(QUIET)$(RM) -f -- $($(target)_1_VCC_PCH_FILE) $($(target)_1_VCC_COMMON_OBJ_PDB) 268 272 $(QUIET)$(TOOL_VCC142X86_KSUBMIT) --no-pch-caching -P $(DEP_OBJ_INT) -f -s -q -e .pch -o $(dep) -t $(obj) $(obj)\ 269 -- $(TOOL_VCC142X86_CXX) -c -Yc \273 -- $(TOOL_VCC142X86_CXX) -c -Yc -d1scalableinclude-\ 270 274 $(flags) $(qaddprefix sh,-I, $(incs)) $(qaddprefix sh,-D, $(defs))\ 271 275 -Fp$($(target)_1_VCC_PCH_FILE) \
Note:
See TracChangeset
for help on using the changeset viewer.