Stuff a resource manifest into the kipython kiface

This commit is contained in:
Marek Roszko 2022-03-14 20:32:29 -04:00
parent 674fbfa889
commit 9e56c7e5c9
2 changed files with 8 additions and 0 deletions

View File

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

View File

@ -47,6 +47,10 @@ target_include_directories( scripting_kiface PRIVATE
${Boost_INCLUDE_DIR}
)
if( MSVC )
target_sources( scripting_kiface PRIVATE ${CMAKE_SOURCE_DIR}/resources/msw/kipython-dll.rc )
endif()
target_link_libraries( scripting_kiface
scripting
)