Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2019-09-18 15:01:23 +0300
committergabime <gmelman1@gmail.com>2019-09-18 15:01:23 +0300
commit77338494786c96836fb336ac107ae76d5b0366a7 (patch)
tree21af3bd39b158e374ca4001d78d074ade353023b /example
parente771f4e75e0275c436bfad2ef03910347918e7c0 (diff)
Updated meson build
Diffstat (limited to 'example')
-rw-r--r--example/meson.build11
1 files changed, 4 insertions, 7 deletions
diff --git a/example/meson.build b/example/meson.build
index 0a5a53c7..7e29abb2 100644
--- a/example/meson.build
+++ b/example/meson.build
@@ -1,8 +1,5 @@
-example_matrix = [
- ['spdlog-example', spdlog_dep],
- ['spdlog-example-ho', spdlog_headeronly_dep],
-]
+executable('example', 'example.cpp', dependencies: spdlog_dep)
+executable('example_header_only', 'example.cpp', dependencies: spdlog_headeronly_dep)
+run_command(find_program('mkdir'), meson.current_build_dir() + '/logs')
+
-foreach i : example_matrix
- test_exe = executable(i[0], ['example.cpp'], dependencies: i[1])
-endforeach