Manifest kicommon on msvc

This commit is contained in:
Marek Roszko 2023-09-14 20:19:11 -04:00
parent 3a1be0f603
commit 4af68a70d1
2 changed files with 8 additions and 0 deletions

View File

@ -111,6 +111,10 @@ target_include_directories( kicommon
add_dependencies( kicommon pegtl )
if( MSVC )
target_sources( kicommon PRIVATE ${CMAKE_SOURCE_DIR}/resources/msw/kicommon-dll.rc )
endif()
# The build version string defaults to the value in the KiCadVersion.cmake file.
# If being built inside a git repository, the git tag and commit hash are used to create
# a new version string instead. The user can supply an additional string to be appended

View File

@ -0,0 +1,4 @@
#define RC_VER_FILE_DESCRIPTION "KiCad Common " KICAD_WIN32_RC_PRODVER_STR
#define RC_VER_INTERNALNAME "kicommon.dll"
#define RC_VER_ORIGINALFILENAME "kicommon.dll"
#include "kiwin32-dll.rc"