[FEATURE] Add icon only to the EXE

This commit is contained in:
hasherezade
2022-11-05 08:14:44 -07:00
parent bba3f799eb
commit 877691c62a
3 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -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
-9
View File
@@ -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"
+10
View File
@@ -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"