diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ffe3c7..63286c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,10 @@ set (hdrs util/time_util.h util/strings_util.h ) +set (rsrc + resources.h + resources.rc +) # libs if (NOT PESIEVE_AS_STATIC_LIB) @@ -69,7 +73,7 @@ set ( PESIEVE_LIB $ CACHE PATH "PE-sieve library path" ) cmake_policy(SET CMP0015 NEW) LINK_DIRECTORIES ( ${PESIEVE_LIB} ) -add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} main.cpp ) +add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} ${rsrc} main.cpp ) target_link_libraries ( ${PROJECT_NAME} ${M_PESIEVE} "psapi.lib" "ntdll.lib") # dependencies diff --git a/logo/favicon.ico b/logo/favicon.ico new file mode 100644 index 0000000..530c184 Binary files /dev/null and b/logo/favicon.ico differ diff --git a/logo/logo.png b/logo/logo.png new file mode 100644 index 0000000..779d245 Binary files /dev/null and b/logo/logo.png differ diff --git a/resources.h b/resources.h new file mode 100644 index 0000000..e69de29 diff --git a/resources.rc b/resources.rc new file mode 100644 index 0000000..d530bdc --- /dev/null +++ b/resources.rc @@ -0,0 +1,56 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resources.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "windows.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resources.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""windows.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON "logo/favicon.ico" +///////////////////////////////////////////////////////////////////////////// + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED +