From 4327935b9f0194ab20ebac878a952a32fc8c37a3 Mon Sep 17 00:00:00 2001 From: Ben Mather Date: Sat, 29 May 2021 10:25:29 +0100 Subject: [PATCH 1/3] style: fix trailing whitespace in meson.build --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 6ee3277..600a408 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('cglm', 'c', - version : '0.8.3', + version : '0.8.3', license : 'mit', default_options : [ 'c_std=c11', @@ -111,8 +111,8 @@ test_src = files( 'test/src/tests.c' ) -test_exe = executable('tests', - test_src, +test_exe = executable('tests', + test_src, dependencies : cglm_dep, c_args : '-DGLM_TESTS_NO_COLORFUL_OUTPUT' ) From 5ac916236c818e187af74b28efc69f5c8ff7ead2 Mon Sep 17 00:00:00 2001 From: Ben Mather Date: Sat, 29 May 2021 10:26:46 +0100 Subject: [PATCH 2/3] build: fix lists broken by missing commas in meson.build --- meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 600a408..578dd2c 100644 --- a/meson.build +++ b/meson.build @@ -56,11 +56,11 @@ cglm_src = files( 'src/clipspace/persp_lh_no.c', 'src/clipspace/persp_lh_zo.c', 'src/clipspace/persp_rh_no.c', - 'src/clipspace/persp_rh_zo.c' + 'src/clipspace/persp_rh_zo.c', 'src/clipspace/view_lh_no.c', 'src/clipspace/view_lh_zo.c', - 'src/clipspace/view_rh_no.c' - 'src/clipspace/view_rh_zo.c' + 'src/clipspace/view_rh_no.c', + 'src/clipspace/view_rh_zo.c', ) cglm_lib = library('cglm', @@ -108,7 +108,7 @@ test_src = files( 'test/src/test_struct.c', 'test/src/test_clamp.c', 'test/src/test_common.c', - 'test/src/tests.c' + 'test/src/tests.c', ) test_exe = executable('tests', From f142e8e16ecdd3eebcd3613880000146c46edc40 Mon Sep 17 00:00:00 2001 From: Ben Mather Date: Sat, 29 May 2021 10:31:15 +0100 Subject: [PATCH 3/3] build: rebuild list of test files in meson.build --- meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 578dd2c..ecee1aa 100644 --- a/meson.build +++ b/meson.build @@ -102,13 +102,17 @@ if get_option('build_tests') == true test_src = files( 'test/runner.c', - 'test/src/test_euler.c', 'test/src/test_bezier.c', 'test/src/test_cam.c', - 'test/src/test_struct.c', + 'test/src/test_cam_lh_no.c', + 'test/src/test_cam_lh_zo.c', + 'test/src/test_cam_rh_no.c', + 'test/src/test_cam_rh_zo.c', 'test/src/test_clamp.c', 'test/src/test_common.c', + 'test/src/test_euler.c', 'test/src/tests.c', + 'test/src/test_struct.c', ) test_exe = executable('tests',