[REFACT] Added manifest to resource file. Disable generation of the default one

This commit is contained in:
hasherezade
2025-03-30 10:02:25 -07:00
parent cabf9154a3
commit 9648d61081
4 changed files with 16 additions and 2 deletions
+5
View File
@@ -117,6 +117,11 @@ target_link_libraries ( ${PROJECT_NAME} ${M_PESIEVE} ${M_PARAMKIT} "psapi.lib" "
add_dependencies( ${PROJECT_NAME} ${M_PESIEVE} ${M_PARAMKIT} )
target_compile_definitions(${PROJECT_NAME} PUBLIC -DUNICODE)
target_compile_definitions(${M_PARAMKIT} PUBLIC -DUNICODE)
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
target_link_options( ${PROJECT_NAME} PRIVATE "/MANIFEST:NO")
endif()
#install
INSTALL( TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT ${PROJECT_NAME} )
+10
View File
@@ -2,6 +2,16 @@
#include "resources.h"
#include <windows.h>
/////////////////////////////////////////////////////////////////////////////
//
// Application Manifest
//
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "hollows_hunter.manifest"
/////////////////////////////////////////////////////////////////////////////
//
// Application Version
//
#define VER_COMPANYNAME_STR "Hashereware (hashereware.com)"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
-1
View File
@@ -14,7 +14,6 @@
<file name="USERENV.dll" loadFrom="%SystemRoot%\System32\"></file>
<file name="VERSION.dll" loadFrom="%SystemRoot%\System32\"></file>
<file name="oleaut32.dll" loadFrom="%SystemRoot%\System32\"></file>
<file name="oleaut32.dll" loadFrom="%SystemRoot%\System32\"></file>
<file name="bcrypt.dll" loadFrom="%SystemRoot%\System32\"></file>
<file name="bcryptprimitives.dll" loadFrom="%SystemRoot%\System32\"></file>
<trustInfo