blob: 5bbf8db4c988cf176ccddb4498d89beec5c40251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# -*- mode: python; -*-
Import("env")
Import("get_option")
env = env.Clone()
env.SConscript(
dirs=[
'compass',
'msi',
],
exports=[
'env',
],
)
if env.TargetOSIs('windows'):
# This ensures that the VC++ redistributable is always included in the
# community server ZIP.
redist_file = env['MSVS'].get('VCREDISTEXE', None)
if not redist_file:
env.FatalError('Required CRT redistributable not found; cannot build distribution package')
env.AutoInstall(
target='$PREFIX_BINDIR',
source=[
"${MSVS['VCREDISTEXE']}",
],
AIB_COMPONENT="dist",
AIB_ROLE="runtime",
)
|