feat(win): Add binary meta (#932)

This commit is contained in:
brindosch
2020-08-02 22:05:53 +02:00
committed by GitHub
parent 8824e69986
commit 94c23653de
7 changed files with 75 additions and 14 deletions

View File

@@ -17,10 +17,16 @@ set(hyperion-remote_SOURCES
hyperion-remote.cpp
JsonConnection.cpp)
# generate windows .rc file for this binary
if (WIN32)
include(${CMAKE_SOURCE_DIR}/cmake/win/win_rc.cmake)
generate_win_rc_file(${PROJECT_NAME})
endif()
add_executable(${PROJECT_NAME}
${hyperion-remote_HEADERS}
${hyperion-remote_SOURCES}
${WIN_RC_ICON_FILE}
${${PROJECT_NAME}_WIN_RC_PATH}
)
target_link_libraries(${PROJECT_NAME}