manifest was a failed experiment
This commit is contained in:
@@ -113,13 +113,6 @@ endif()
|
|||||||
if (WIN32)
|
if (WIN32)
|
||||||
enable_language(RC)
|
enable_language(RC)
|
||||||
target_sources(${PROJECT_NAME} PRIVATE anm2ed.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_compile_options(${PROJECT_NAME} PRIVATE /EHsc)
|
||||||
target_link_options(${PROJECT_NAME} PRIVATE /STACK:0xffffff)
|
target_link_options(${PROJECT_NAME} PRIVATE /STACK:0xffffff)
|
||||||
target_link_options(${PROJECT_NAME} PRIVATE
|
target_link_options(${PROJECT_NAME} PRIVATE
|
||||||
|
|||||||
@@ -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"
|
IDI_ICON1 ICON DISCARDABLE "Icon.ico"
|
||||||
|
|||||||
22
app.manifest
22
app.manifest
@@ -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>
|
|
||||||
Reference in New Issue
Block a user