Adding rc file.
This commit is contained in:
parent
9a5b344c18
commit
1b46ea3355
@ -47,6 +47,14 @@ foreach i : preloaded_images_files
|
|||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
if is_windows
|
if is_windows
|
||||||
|
windows = import('windows')
|
||||||
|
windows_sources = windows.compile_resources('resources/windows.rc',
|
||||||
|
include_directories : [ '../recuento/resources' ]
|
||||||
|
)
|
||||||
|
foreach i : windows_sources
|
||||||
|
launcher_sources += i
|
||||||
|
endforeach
|
||||||
|
|
||||||
executable('recuento_launcher_windows',
|
executable('recuento_launcher_windows',
|
||||||
launcher_sources,
|
launcher_sources,
|
||||||
install: true,
|
install: true,
|
||||||
|
@ -66,7 +66,7 @@ sub move_launcher {
|
|||||||
my $recuento_inner = shift;
|
my $recuento_inner = shift;
|
||||||
my $recuento = shift;
|
my $recuento = shift;
|
||||||
my $filename = 'Recuento.exe';
|
my $filename = 'Recuento.exe';
|
||||||
system 'cp', $recuento_inner->child('recuento_launcher_windows'), $recuento->child($filename);
|
system 'cp', $recuento_inner->child('recuento_launcher_windows.exe'), $recuento->child($filename);
|
||||||
}
|
}
|
||||||
sub copy_recursive {
|
sub copy_recursive {
|
||||||
my $source = shift;
|
my $source = shift;
|
||||||
|
BIN
resources/recuento.ico
Normal file
BIN
resources/recuento.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
2
resources/windows.rc
Normal file
2
resources/windows.rc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#include <windows_resources.h>
|
||||||
|
MAINICON ICON "../recuento/resources/recuento.ico"
|
4
resources/windows_resources.h
Normal file
4
resources/windows_resources.h
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#ifndef WINDOWS_RESOURCES
|
||||||
|
#define WINDOWS_RESOURCES
|
||||||
|
#define MAINICON 0
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user