Skip to content

Lasereyes5/Webview2Test-tcc

 
 

Repository files navigation

Webview2Test-tcc

Use C language and tcc compiler to pack front-end project to executable program(64 bit)

How to compile

Used compiler: Tiny C Compiler (tcc version 0.9.27)

Run build.bat or following command:

windres res/res.rc -O coff res/res.res
tcc -impdef publish/Webview2Loader.dll -o Webview2Loader.def

tcc main.c MyHttpServer.c res/res.res -o publish/Herta.exe -Iwinapiwv2 -lws2_32 -lcomctl32 Webview2Loader.def -Wl,-subsystem=gui -Dinterface=struct -DDEFINE_ENUM_FLAG_OPERATORS(arg)= -D_COM_Outptr_=

Dependencies

Include

winapiwv2/: copied winapi according winapiext-tcc

Icon in res/

icon/: Original files of WebView2.ico

icon/WebView2.ico: 16x16 pixel redraw of EdgeWebView2.ico

icon/EdgeWebView2.ico: EdgeWebView2.ico in WebView2Samples/media/

icon/WebView2.tsp: Original Hornil StylePix Project of WebView2.ico

About

Use C language and tcc compiler to pack front-end project to executable program(64 bit)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C 70.3%
  • C++ 29.7%