Win32: move resources to res/.

pull/10/head
whitequark 2016-04-21 16:59:13 +00:00
parent f4c01f670c
commit a6b6d98a94
5 changed files with 5 additions and 8 deletions

View File

@ -97,6 +97,10 @@ else() # Unix
endif()
# Second, register all resources.
if(WIN32)
add_resource(win32/icon.ico RT_ICON_GROUP APP_ICON)
add_resource(win32/manifest.xml RT_MANIFEST APP_MANIFEST)
endif()
add_resource(banner.txt)
# Third, distribute the resources.

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -129,8 +129,7 @@ set(generated_SOURCES
if(WIN32)
set(platform_SOURCES
win32/w32main.cpp
win32/resource.rc)
win32/w32main.cpp)
set(platform_LIBRARIES
comctl32)

View File

@ -1,6 +0,0 @@
// we need a manifest if we want visual styles; put in numbers since somethings a bit screwy
// with my SDK install (I don't think I've got *.rh right)
1 24 "manifest.xml"
4000 ICON "icon.ico"