mirror of
https://github.com/hasherezade/pe-sieve.git
synced 2026-10-11 21:49:57 +00:00
[FEATURE] Add icon only to the EXE
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ if(PESIEVE_AS_STATIC_LIB OR PESIEVE_AS_DLL)
|
||||
)
|
||||
set_source_files_properties(main.def PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
else()
|
||||
add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} ${rsrc} main.cpp params.h )
|
||||
add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} ${rsrc} pe_sieve_res_icon.rc main.cpp params.h )
|
||||
endif()
|
||||
|
||||
set (used_libs
|
||||
|
||||
@@ -22,12 +22,3 @@
|
||||
#endif
|
||||
|
||||
#include "common.ver"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_ICON1 ICON "logo/favicon.ico"
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#include <windows.h>
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_ICON1 ICON "logo/favicon.ico"
|
||||
Reference in New Issue
Block a user