Add icons and manifest to Windows executable

This commit is contained in:
Epicalert 2021-07-19 20:36:36 +08:00
parent d01d98d466
commit 2205287e58
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD
5 changed files with 5 additions and 0 deletions

View file

@ -68,6 +68,7 @@ add_executable( fc2d
src/error.cpp src/error.cpp
src/eye.cpp src/eye.cpp
src/configfile.cpp src/configfile.cpp
packaging/fc2d.rc
) )
target_link_libraries( fc2d ${OpenCV_LIBS} ${OPENGL_LIBRARIES} ${WEBP_LIBRARIES} target_link_libraries( fc2d ${OpenCV_LIBS} ${OPENGL_LIBRARIES} ${WEBP_LIBRARIES}
${GLUT_LIBRARY} GLEW::glew zip Boxer fmt ) ${GLUT_LIBRARY} GLEW::glew zip Boxer fmt )
@ -78,6 +79,7 @@ add_executable( fc2dconfig
src/configfile.cpp src/configfile.cpp
src/toml.c src/toml.c
src/tomlcpp.cpp src/tomlcpp.cpp
packaging/fc2dconfig.rc
) )
target_link_libraries( fc2dconfig ${wxWidgets_LIBRARIES} ) target_link_libraries( fc2dconfig ${wxWidgets_LIBRARIES} )

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
packaging/facecam2d.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

1
packaging/fc2d.rc Normal file
View file

@ -0,0 +1 @@
icon ICON "facecam2d.ico"

2
packaging/fc2dconfig.rc Normal file
View file

@ -0,0 +1,2 @@
#include "wx/msw/wx.rc"
icon ICON "facecam2d-config.ico"