From a97c93ede0e9ac31d3669680cb9f95c254ffbf7b Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Sun, 19 Jan 2025 12:24:54 -0500 Subject: [PATCH] build(meson.build): added controls for building tests --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 1c9183c..43145c8 100644 --- a/meson.build +++ b/meson.build @@ -2,8 +2,9 @@ project('4DSSE', 'cpp', version: '0.0.1a', default_options: ['cpp_std=c++23']) # Add default visibility for all C++ targets add_project_arguments('-fvisibility=default', language: 'cpp') -add_project_arguments('-Wl,-export_dynamic', language: 'cpp') subdir('src') -subdir('tests') \ No newline at end of file +if get_option('build_tests') + subdir('tests') +endif \ No newline at end of file