feat: add icon

This commit is contained in:
2026-06-20 06:59:06 -03:00
parent 579e0d1352
commit f30a76fe18
3 changed files with 6 additions and 4 deletions
+5 -4
View File
@@ -8,6 +8,9 @@ set(CMAKE_CXX_STANDARD 20)
add_compile_definitions(WIN32_LEAN_AND_MEAN NOMINMAX)
project(hex-unlocked LANGUAGES CXX)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
if(MSVC)
add_compile_options(/EHsc /utf-8 /Zc:char8_t)
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
@@ -15,11 +18,9 @@ if(MSVC)
endif()
else()
add_compile_options(-m64)
enable_language(RC)
endif()
project(hex-unlocked LANGUAGES CXX)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# ------------------------------
# options
# ------------------------------
@@ -138,7 +139,7 @@ endif()
# ------------------------------
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)
# rnd exe name