feat: add icon
This commit is contained in:
+5
-4
@@ -8,6 +8,9 @@ set(CMAKE_CXX_STANDARD 20)
|
|||||||
|
|
||||||
add_compile_definitions(WIN32_LEAN_AND_MEAN NOMINMAX)
|
add_compile_definitions(WIN32_LEAN_AND_MEAN NOMINMAX)
|
||||||
|
|
||||||
|
project(hex-unlocked LANGUAGES CXX)
|
||||||
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_compile_options(/EHsc /utf-8 /Zc:char8_t)
|
add_compile_options(/EHsc /utf-8 /Zc:char8_t)
|
||||||
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||||
@@ -15,11 +18,9 @@ if(MSVC)
|
|||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
add_compile_options(-m64)
|
add_compile_options(-m64)
|
||||||
|
enable_language(RC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
project(hex-unlocked LANGUAGES CXX)
|
|
||||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
|
||||||
|
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
# options
|
# options
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
@@ -138,7 +139,7 @@ endif()
|
|||||||
# ------------------------------
|
# ------------------------------
|
||||||
file(GLOB_RECURSE UNLOCKER_SOURCES CONFIGURE_DEPENDS "src/unlocker/*.cpp" "src/unlocker/*.h")
|
file(GLOB_RECURSE UNLOCKER_SOURCES CONFIGURE_DEPENDS "src/unlocker/*.cpp" "src/unlocker/*.h")
|
||||||
|
|
||||||
add_executable(hex-unlocked WIN32 ${UNLOCKER_SOURCES})
|
add_executable(hex-unlocked WIN32 ${UNLOCKER_SOURCES} "res/resources.rc")
|
||||||
target_link_libraries(hex-unlocked PRIVATE hex-warned seallib glaze::glaze tinymitm wininet ixwebsocket crypt32 user32 shell32)
|
target_link_libraries(hex-unlocked PRIVATE hex-warned seallib glaze::glaze tinymitm wininet ixwebsocket crypt32 user32 shell32)
|
||||||
|
|
||||||
# rnd exe name
|
# rnd exe name
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
@@ -0,0 +1 @@
|
|||||||
|
IDI_ICON1 ICON DISCARDABLE "icon.ico"
|
||||||
Reference in New Issue
Block a user