Win32: move resources to res/.
parent
f4c01f670c
commit
a6b6d98a94
|
@ -97,6 +97,10 @@ else() # Unix
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Second, register all resources.
|
# 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)
|
add_resource(banner.txt)
|
||||||
|
|
||||||
# Third, distribute the resources.
|
# Third, distribute the resources.
|
||||||
|
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
@ -129,8 +129,7 @@ set(generated_SOURCES
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(platform_SOURCES
|
set(platform_SOURCES
|
||||||
win32/w32main.cpp
|
win32/w32main.cpp)
|
||||||
win32/resource.rc)
|
|
||||||
|
|
||||||
set(platform_LIBRARIES
|
set(platform_LIBRARIES
|
||||||
comctl32)
|
comctl32)
|
||||||
|
|
|
@ -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"
|
|
Loading…
Reference in New Issue