Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions DeviceAdapters/DemoCamera/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This Meson script is experimental and potentially incomplete. It is not part
# of the supported build system for Micro-Manager or mmCoreAndDevices (yet).

project(
'mmdev-DemoCamera',
'cpp',
meson_version: '>= 1.8.3',
default_options: [
'cpp_std=c++14',
'warning_level=3',
],
)

cxx = meson.get_compiler('cpp')

if cxx.get_id() in ['msvc', 'clang-cl']
add_project_arguments('-DNOMINMAX', language: 'cpp')
endif

mmdevice_dep = dependency('mmdevice')

winmm_lib = cxx.find_library('Winmm', required: false)

sources = [
'DemoCamera.cpp',
]

shared_module(
'DemoCamera',
sources,
dependencies: [
mmdevice_dep,
winmm_lib,
],
gnu_symbol_visibility: 'inlineshidden',
name_prefix: '',
name_suffix: 'mmdev',
)
13 changes: 13 additions & 0 deletions DeviceAdapters/DemoCamera/subprojects/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/packagecache/

/MMDevice/
/mmdevice/

# Subprojects installed by meson wrap
/*-*/

# Ignore *.wrap by default (may be auto-installed transitive dependencies)
/*.wrap

# Do not ignore wraps we provide
!/mmdevice.wrap
7 changes: 7 additions & 0 deletions DeviceAdapters/DemoCamera/subprojects/mmdevice.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[wrap-git]
url = https://github.com/micro-manager/mmdevice.git
revision = HEAD
depth = 1

[provide]
dependency_names = mmdevice
30 changes: 30 additions & 0 deletions DeviceAdapters/NotificationTester/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This Meson script is experimental and potentially incomplete. It is not part
# of the supported build system for Micro-Manager or mmCoreAndDevices (yet).

project(
'mmdev-NotificationTester',
'cpp',
meson_version: '>= 1.8.3',
default_options: [
'cpp_std=c++14',
'warning_level=3',
],
)

mmdevice_dep = dependency('mmdevice')

sources = [
'NotificationTester.cpp',
]

shared_module(
'NotificationTester',
sources,
dependencies: [
mmdevice_dep,
],
gnu_symbol_visibility: 'inlineshidden',
name_prefix: '',
name_suffix: 'mmdev',
)

13 changes: 13 additions & 0 deletions DeviceAdapters/NotificationTester/subprojects/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/packagecache/

/MMDevice/
/mmdevice/

# Subprojects installed by meson wrap
/*-*/

# Ignore *.wrap by default (may be auto-installed transitive dependencies)
/*.wrap

# Do not ignore wraps we provide
!/mmdevice.wrap
7 changes: 7 additions & 0 deletions DeviceAdapters/NotificationTester/subprojects/mmdevice.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[wrap-git]
url = https://github.com/micro-manager/mmdevice.git
revision = HEAD
depth = 1

[provide]
dependency_names = mmdevice
40 changes: 40 additions & 0 deletions DeviceAdapters/SequenceTester/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This Meson script is experimental and potentially incomplete. It is not part
# of the supported build system for Micro-Manager or mmCoreAndDevices (yet).

project(
'mmdev-SequenceTester',
'cpp',
meson_version: '>= 1.8.3',
default_options: [
'cpp_std=c++14',
'warning_level=3',
],
)

mmdevice_dep = dependency('mmdevice')

boost_dep = dependency('boost')

msgpack_dep = dependency('msgpack-cxx')

sources = [
'InterDevice.cpp',
'LoggedSetting.cpp',
'SequenceTester.cpp',
'SettingLogger.cpp',
'TextImage.cpp',
'TriggerInput.cpp',
]

shared_module(
'SequenceTester',
sources,
dependencies: [
mmdevice_dep,
boost_dep,
msgpack_dep,
],
gnu_symbol_visibility: 'inlineshidden',
name_prefix: '',
name_suffix: 'mmdev',
)
14 changes: 14 additions & 0 deletions DeviceAdapters/SequenceTester/subprojects/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/packagecache/

/MMDevice/
/mmdevice/

# Subprojects installed by meson wrap
/*-*/

# Ignore *.wrap by default (may be auto-installed transitive dependencies)
/*.wrap

# Do not ignore wraps we provide
!/mmdevice.wrap
!/msgpackc-cxx.wrap
7 changes: 7 additions & 0 deletions DeviceAdapters/SequenceTester/subprojects/mmdevice.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[wrap-git]
url = https://github.com/micro-manager/mmdevice.git
revision = HEAD
depth = 1

[provide]
dependency_names = mmdevice
13 changes: 13 additions & 0 deletions DeviceAdapters/SequenceTester/subprojects/msgpackc-cxx.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[wrap-file]
directory = msgpack-cxx-7.0.0
source_url = https://github.com/msgpack/msgpack-c/releases/download/cpp-7.0.0/msgpack-cxx-7.0.0.tar.gz
source_filename = msgpack-cxx-7.0.0.tar.gz
source_hash = 7504b7af7e7b9002ce529d4f941e1b7fb1fb435768780ce7da4abaac79bb156f
patch_filename = msgpackc-cxx_7.0.0-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/msgpackc-cxx_7.0.0-1/get_patch
patch_hash = 93638bbf9890c813250c8efc5c3ea8315fc73b027fe606832ac2dc2d57a57e0f
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/msgpackc-cxx_7.0.0-1/msgpack-cxx-7.0.0.tar.gz
wrapdb_version = 7.0.0-1

[provide]
msgpack-cxx = msgpack_cxx_dep
45 changes: 45 additions & 0 deletions DeviceAdapters/Utilities/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This Meson script is experimental and potentially incomplete. It is not part
# of the supported build system for Micro-Manager or mmCoreAndDevices (yet).

project(
'mmdev-Utilities',
'cpp',
meson_version: '>= 1.8.3',
default_options: [
'cpp_std=c++14',
'warning_level=3',
],
)

mmdevice_dep = dependency('mmdevice')

sources = [
'AutoFocusStage.cpp',
'ComboXYStage.cpp',
'DAGalvo.cpp',
'DAMonochromator.cpp',
'DAShutter.cpp',
'DATTLStateDevice.cpp',
'DAXYStage.cpp',
'DAZStage.cpp',
'MultiCamera.cpp',
'MultiDAStateDevice.cpp',
'MultiShutter.cpp',
'MultiStage.cpp',
'PropertyShutter.cpp',
'SerialDTRShutter.cpp',
'SingleAxisStage.cpp',
'StateDeviceShutter.cpp',
'Utilities.cpp',
]

shared_module(
'Utilities',
sources,
dependencies: [
mmdevice_dep,
],
gnu_symbol_visibility: 'inlineshidden',
name_prefix: '',
name_suffix: 'mmdev',
)
13 changes: 13 additions & 0 deletions DeviceAdapters/Utilities/subprojects/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/packagecache/

/MMDevice/
/mmdevice/

# Subprojects installed by meson wrap
/*-*/

# Ignore *.wrap by default (may be auto-installed transitive dependencies)
/*.wrap

# Do not ignore wraps we provide
!/mmdevice.wrap
7 changes: 7 additions & 0 deletions DeviceAdapters/Utilities/subprojects/mmdevice.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[wrap-git]
url = https://github.com/micro-manager/mmdevice.git
revision = HEAD
depth = 1

[provide]
dependency_names = mmdevice