- Timestamp:
- Jan 29, 2022, 3:59:03 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r3509 r3552 299 299 endif 300 300 endif 301 # HACK ALERT! Using kmk_builting_redirect here to bypass some shell quoting issue. 302 ifdef KBUILD_NEW_VCC # The OLD CRT will use the codepage default to the locale rather than UTF-8, so APC and CRT ends 303 # up using different code pages when a locale other than "C" is used. Thus, only enable for new compiler. 304 TEMPLATE_BIN_POST_CMDS.win = \ 305 $(QUIET)$(APPEND) -tn "$(out).manifest" \ 306 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' \ 307 '<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">' \ 308 ' <assemblyIdentity type="win32" name="$(notdir $(out))" version="$(KBUILD_VERSION_MAJOR).$(KBUILD_VERSION_MINOR).$(KBUILD_VERSION_PATCH).$(KBUILD_SVN_REV)"/>' \ 309 ' <application>' \ 310 ' <windowsSettings>' \ 311 ' <activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>' \ 312 ' </windowsSettings>' \ 313 ' </application>' \ 314 '</assembly>' \ 315 $(NLTAB)$(QUIET)$(REDIRECT) -- $(requote sh,$(PATH_SDK_$(firstword $(TEMPLATE_$($(target)_TEMPLATE)_SDKS))_BIN)/mt.exe) \ 316 -nologo -manifest '$(subst /,\,$(out).manifest)' '-outputresource:$(subst /,\,$(out));$(HASH)1' \ 317 $(NLTAB)$(QUIET)$(RM) -f -- "$(out).manifest" 318 endif 301 319 302 320 else # !os2, !win, !nt … … 431 449 # for LIB_KDEP 432 450 TEMPLATE_LIB_TOOL = $(TEMPLATE_BIN_TOOL) 433 451 TEMPLATE_LIB_CLEAN.win = $(NO_SUCH_VARIABLE) 452 TEMPLATE_LIB_LNK_DEPS.win = $(NO_SUCH_VARIABLE) 453 TEMPLATE_LIB_POST_CMDS.win = $(NO_SUCH_VARIABLE) 434 454 435 455 # … … 457 477 TEMPLATE_LIB-STATIC-THREADED_EXTENDS = BIN-STATIC-THREADED 458 478 TEMPLATE_LIB-STATIC-THREADED_INST = lib/ 459 479 TEMPLATE_LIB-STATIC-THREADED_POST_CMDS.win = $(NO_SUCH_VARIABLE) 460 480 461 481 # -
trunk/src/kmk/Makefile.kmk
r3431 r3552 87 87 88 88 # 89 # Library version of the above. 90 # 91 TEMPLATE_LIB-KMK = Template for src/gmake libraries 92 TEMPLATE_LIB-KMK_EXTENDS = BIN-KMK 93 TEMPLATE_LIB-KMK_POST_CMDS.win = $(NO_SUCH_VARIABLE) 94 95 # 89 96 # Template for building standalone built-in utilities. 90 97 # … … 100 107 # 101 108 LIBRARIES += kmkmissing 102 kmkmissing_TEMPLATE = BIN-KMK109 kmkmissing_TEMPLATE = LIB-KMK 103 110 kmkmissing_DEFS = KMK 104 111 kmkmissing_NOINST = 1
Note:
See TracChangeset
for help on using the changeset viewer.