Remove gtest

It would be useful to be able to run libcper decoding unit tests without
needing a C compiler, as would be required if this were compiled to a
python module.

Change-Id: I183bc9ef048c336205186ea449e15b7766b19990
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/meson.build b/meson.build
index 96e194c..4240cd3 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project(
     'libcper',
-    ['c', 'cpp'],
+    'c',
     version: '0.1',
     meson_version: '>=1.1.1',
     default_options: [
@@ -12,22 +12,21 @@
     ],
 )
 
+spec_dir = meson.current_source_dir() + '/specification/json'
+example_dir = meson.current_source_dir() + '/examples'
 add_project_arguments(
-    '-DLIBCPER_JSON_SPEC="'
-    + meson.current_source_dir() + '/specification/json"',
-    language: ['c', 'cpp'],
+    [
+        '-DLIBCPER_EXAMPLES="' + example_dir + '"',
+        '-DLIBCPER_JSON_SPEC="' + spec_dir + '"',
+        '-D_POSIX_C_SOURCE=200809L',
+    ],
+    language: 'c',
 )
 
-add_project_arguments('-DLIBCPER_EXAMPLES="'
-    + meson.current_source_dir() + '/examples"', language: ['c', 'cpp'])
-
-add_project_arguments('-Wno-unused-function', language: ['c', 'cpp'])
-
 library_is_share = get_option('default_library') == 'shared'
-add_project_arguments('-D_POSIX_C_SOURCE=200809L', language: 'c')
 
 if get_option('output-all-properties').enabled()
-    add_project_arguments('-DOUTPUT_ALL_PROPERTIES', language: ['c', 'cpp'])
+    add_project_arguments('-DOUTPUT_ALL_PROPERTIES', language: 'c')
 endif
 
 project_description = 'libcper library'