Build System Resource.dll from source code instead of shipping the binary.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5756 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b039775cb3
commit
08c28ddbc9
5 changed files with 21 additions and 0 deletions
|
@ -36,3 +36,20 @@ BuildPlugin(
|
|||
nodeflib = False,
|
||||
defines = ['SYSTEM_EXPORTS']
|
||||
)
|
||||
|
||||
Import('env')
|
||||
|
||||
res = 'Resource/Resource.rc'
|
||||
|
||||
res_obj = 'Resource/Resource-rc.o'
|
||||
|
||||
res_target = env.RES(res_obj, res)
|
||||
|
||||
resources = Split("""
|
||||
Resource/Icon.ico
|
||||
Resource/Resource.h
|
||||
""")
|
||||
|
||||
env.Depends(res_target, resources)
|
||||
|
||||
env.SharedLibrary('Resource', res_target)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue