mirror of
https://github.com/quantum5/Zalgo.git
synced 2025-04-24 05:31:58 -04:00
Embedded manifest in resource file.
This commit is contained in:
parent
3a75c33e4a
commit
14140edba5
4
Makefile
4
Makefile
|
@ -4,8 +4,7 @@ INCDIR=include
|
|||
CXX=cl /nologo
|
||||
LD=link /nologo
|
||||
CXXFLAGS=/c /O1 /I$(INCDIR) /W4 /Zi /DWIN32_LEAN_AND_MEAN /DWINVER=0x0501 /D_WIN32_WINNT=0x0501 /wd4100 /DUNICODE /D_UNICODE /EHsc
|
||||
LDFLAGS=/subsystem:windows /debug /manifest /incremental:no /opt:REF
|
||||
LDFLAGS=$(LDFLAGS) "/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"
|
||||
LDFLAGS=/subsystem:windows /debug /incremental:no /opt:REF
|
||||
RC=rc /nologo
|
||||
RCFLAGS=/i$(INCDIR)
|
||||
LIBS=
|
||||
|
@ -78,7 +77,6 @@ $(OUTDIR)\Zalgo.res: Zalgo.rc res\x-sampa.txt res\init.txt
|
|||
|
||||
$(DISTDIR)\Zalgo.exe: $(FILES)
|
||||
$(LD) /out:$@ $(LDFLAGS) $** $(LIBS)
|
||||
mt.exe -nologo -manifest $@.manifest -outputresource:$@;1 && del $@.manifest || set ERRORLEVEL=0
|
||||
|
||||
$(DISTDIR)\hecomes.exe: $(CMDFILE) $(OUTDIR)\hecomes.obj
|
||||
$(LD) /out:$@ $**
|
||||
|
|
1
Zalgo.rc
1
Zalgo.rc
|
@ -4,3 +4,4 @@ RID_ICON ICON Zalgo.ico
|
|||
RID_XSAMPA ZALGO_TEXT "res\\x-sampa.txt"
|
||||
RID_INIT ZALGO_TEXT "res\\init.txt"
|
||||
RID_LOOSE ZALGO_TEXT "res\\loose.txt"
|
||||
1 24 "res\\commctrl6.manifest"
|
||||
|
|
15
res/commctrl6.manifest
Normal file
15
res/commctrl6.manifest
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*' />
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
Loading…
Reference in a new issue