Changeset 3370 for trunk/kBuild/tools/VCC142.kmk
- Timestamp:
- Jun 10, 2020, 12:45:05 PM (5 years ago)
- File:
-
- 1 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) \
Note:
See TracChangeset
for help on using the changeset viewer.