parent
24b3585318
commit
157549fe72
4 changed files with 17 additions and 2 deletions
@ -0,0 +1 @@ |
||||
#define ICON_ID 1 |
@ -1,9 +1,12 @@ |
||||
project('winmain', 'c') |
||||
|
||||
win = import('windows') |
||||
res = win.compile_resources('myres.rc', |
||||
include_directories : include_directories('inc') |
||||
) |
||||
|
||||
exe = executable('prog', 'prog.c', |
||||
win.compile_resources('myres.rc'), |
||||
res, |
||||
gui_app : true) |
||||
|
||||
test('winmain', exe) |
||||
|
@ -1,3 +1,4 @@ |
||||
#include<windows.h> |
||||
#include"resource.h" |
||||
|
||||
1 ICON "sample.ico" |
||||
ICON_ID ICON "sample.ico" |
||||
|
Loading…
Reference in new issue