summaryrefslogtreecommitdiff
path: root/tools/meson.build
blob: 1322ce0219e22fda7242f26780c638e4c37bccc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
websocket_linux_amd64 = custom_target(
  input : [
    meson.current_source_dir() / 'websocket.go',
  ],
  output : 'websocket-linux-amd64',
  env : {'GOOS': 'linux', 'GOARCH': 'amd64'},
  command : [
    go,
    'build',
    '-o',
    '@OUTPUT@',
    '@INPUT@',
  ],
  build_by_default : true,
)