Skip to content

Commit

Permalink
Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Sep 7, 2023
1 parent b9f3768 commit d00094c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ endif ()

add_executable(vpmr src/VPMR.cpp)

if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND MINGW)
target_compile_options(${PROJECT_NAME} PRIVATE "-Wa,-mbig-obj")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_sources(${PROJECT_NAME} PRIVATE vpmr.rc)
if (MINGW)
target_compile_options(${PROJECT_NAME} PRIVATE "-Wa,-mbig-obj")
endif ()
endif ()
Binary file added vpmr.ico
Binary file not shown.
1 change: 1 addition & 0 deletions vpmr.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 ICON "vpmr.ico"

0 comments on commit d00094c

Please sign in to comment.