Added example meson.build

This commit is contained in:
Daniel Mensinger 2019-07-01 12:32:12 +02:00
parent af4026104c
commit 3c64b3da97
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -49,6 +49,7 @@ example/*
!example/example.sln !example/example.sln
!example/example.vcxproj !example/example.vcxproj
!example/CMakeLists.txt !example/CMakeLists.txt
!example/meson.build
!example/multisink.cpp !example/multisink.cpp
!example/jni !example/jni

8
example/meson.build Normal file
View File

@ -0,0 +1,8 @@
example_matrix = [
['spdlog-example', spdlog_dep],
['spdlog-example-ho', spdlog_headeronly_dep],
]
foreach i : example_matrix
test_exe = executable(i[0], ['example.cpp'], dependencies: i[1])
endforeach