manifest was a failed experiment

This commit is contained in:
2025-12-01 21:13:58 -05:00
parent 193c434137
commit 8c198d97e5
3 changed files with 0 additions and 36 deletions

View File

@@ -113,13 +113,6 @@ endif()
if (WIN32)
enable_language(RC)
target_sources(${PROJECT_NAME} PRIVATE anm2ed.rc)
set(APP_MANIFEST "${CMAKE_CURRENT_SOURCE_DIR}/app.manifest")
file(TO_NATIVE_PATH "${APP_MANIFEST}" APP_MANIFEST_NATIVE)
set(APP_MANIFEST_DEF "APP_MANIFEST_FILE=\\\"${APP_MANIFEST_NATIVE}\\\"")
set_source_files_properties(anm2ed.rc PROPERTIES
COMPILE_DEFINITIONS "${APP_MANIFEST_DEF}"
OBJECT_DEPENDS "${APP_MANIFEST}"
)
target_compile_options(${PROJECT_NAME} PRIVATE /EHsc)
target_link_options(${PROJECT_NAME} PRIVATE /STACK:0xffffff)
target_link_options(${PROJECT_NAME} PRIVATE

View File

@@ -1,8 +1 @@
#include <windows.h>
#ifndef APP_MANIFEST_FILE
#define APP_MANIFEST_FILE "app.manifest"
#endif
1 RT_MANIFEST APP_MANIFEST_FILE
IDI_ICON1 ICON DISCARDABLE "Icon.ico"

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity type="win32" name="UTF-8 message box" version="1.0.0.0"/>
<application>
<windowsSettings>
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings"
>UTF-8</activeCodePage>
</windowsSettings>
</application>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>