mirror of
https://github.com/HEYAHONG/Win32Redirector.git
synced 2025-10-14 02:48:08 +08:00
添加无需管理员权限的版本
This commit is contained in:
@@ -21,3 +21,7 @@ file(GLOB MAIN_CXX_C_FILES *.cpp *.c win32/*.rc )
|
||||
add_executable(Win32Redirector ${MAIN_CXX_C_FILES})
|
||||
add_executable(Win32Redirector_GUI ${MAIN_CXX_C_FILES})
|
||||
target_compile_definitions(Win32Redirector_GUI PUBLIC -DBUILD_GUI_REDIRECTOR=1)
|
||||
add_executable(Win32Redirector_noadmin ${MAIN_CXX_C_FILES})
|
||||
target_compile_definitions(Win32Redirector_noadmin PUBLIC -DBUILD_NOADMIN=1)
|
||||
add_executable(Win32Redirector_GUI_noadmin ${MAIN_CXX_C_FILES})
|
||||
target_compile_definitions(Win32Redirector_GUI_noadmin PUBLIC -DBUILD_GUI_REDIRECTOR=1 -DBUILD_NOADMIN=1)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(BUILD_NOADMIN)
|
||||
1 24 "window_resources.manifest"
|
||||
#endif
|
||||
MAINICON ICON "window_resources.ico"
|
||||
|
Reference in New Issue
Block a user