Skip to content

Commit 02a5129

Browse files
committed
Meson build for DemoCamera
1 parent 90bdc02 commit 02a5129

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This Meson script is experimental and potentially incomplete. It is not part
2+
# of the supported build system for Micro-Manager or mmCoreAndDevices (yet).
3+
4+
project(
5+
'DemoCamera',
6+
'cpp',
7+
meson_version: '>= 1.8.3',
8+
default_options: [
9+
'cpp_std=c++14',
10+
'warning_level=3',
11+
],
12+
)
13+
14+
mmdevice_dep = dependency('mmdevice')
15+
16+
sources = [
17+
'DemoCamera.cpp',
18+
]
19+
20+
shared_module(
21+
'DemoCamera',
22+
sources,
23+
dependencies: [
24+
mmdevice_dep,
25+
],
26+
name_prefix: '',
27+
name_suffix: 'mmdev',
28+
)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/packagecache/
2+
3+
/MMDevice/
4+
/mmdevice/
5+
6+
# Subprojects installed by meson wrap
7+
/*-*/
8+
9+
# Ignore *.wrap by default (may be auto-installed transitive dependencies)
10+
/*.wrap
11+
12+
# Do not ignore wraps we provide
13+
!/mmdevice.wrap
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[wrap-git]
2+
url = https://github.com/micro-manager/mmdevice.git
3+
revision = HEAD
4+
depth = 1
5+
6+
[provide]
7+
dependency_names = mmdevice

0 commit comments

Comments
 (0)