mirror of
https://github.com/hasherezade/hollows_hunter.git
synced 2026-10-11 21:49:55 +00:00
[REFACT] Added manifest to resource file. Disable generation of the default one
This commit is contained in:
@@ -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} )
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
Submodule pe-sieve updated: fef78dfdde...5fafb125df
Reference in New Issue
Block a user