Readded the manifest to libui.dll. The test suite passes!

This commit is contained in:
Pietro Gagliardi 2019-04-21 17:46:50 -04:00
parent b8b3b3df39
commit f548f6d4d2
3 changed files with 8 additions and 8 deletions

View File

@ -10,13 +10,13 @@ libui_sources += [
# For a DLL, we have to include this directly, so we do so.
# Windows won't link resources in static libraries, so including this would have no effect.
# In those cases, we just need them to include the manifest with the executable (or link it directly into the output executable themselves); they can also customize the manifest as they see fit (assuming nothing breaks in the process).
#if libui_mode == 'shared'
# libui_sources += [
# windows.compile_resources('resources.rc',
# args: libui_manifest_args,
# depend_files: ['libui.manifest']),
# ]
#endif
if libui_mode == 'shared'
libui_sources += [
windows.compile_resources('resources.rc',
args: libui_manifest_args,
depend_files: ['libui.manifest']),
]
endif
foreach lib : ['user32', 'kernel32', 'gdi32', 'comctl32']
libui_deps += [

View File

@ -1,6 +1,6 @@
// 30 may 2015
#include "winapi.hpp"
#include "resources.hpp"
//TODO#include "resources.hpp"
// this is a UTF-8 file
#pragma code_page(65001)