From 025102fc580f8ebfe44e93340ca3c8abd9e8e8c4 Mon Sep 17 00:00:00 2001 From: Tau Date: Wed, 1 May 2019 21:17:30 -0400 Subject: [PATCH] Remove PCH source files Deprecated in newer versions of Meson. --- aimeio/meson.build | 5 +---- amex/meson.build | 5 +---- board/meson.build | 5 +---- cardhook/meson.build | 5 +---- chunihook/meson.build | 5 +---- jvs/meson.build | 5 +---- minihook/meson.build | 5 +---- platform/meson.build | 5 +---- util/meson.build | 5 +---- 9 files changed, 9 insertions(+), 36 deletions(-) diff --git a/aimeio/meson.build b/aimeio/meson.build index 7730df6..3715e5e 100644 --- a/aimeio/meson.build +++ b/aimeio/meson.build @@ -4,10 +4,7 @@ aimeio_dll = shared_library( include_directories: inc, implicit_include_directories : false, vs_module_defs : 'aimeio.def', - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', link_with : [ util_lib, ], diff --git a/amex/meson.build b/amex/meson.build index 4b5c3a3..38c3c6a 100644 --- a/amex/meson.build +++ b/amex/meson.build @@ -2,10 +2,7 @@ amex_lib = static_library( 'amex', include_directories : inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), ], diff --git a/board/meson.build b/board/meson.build index 34c1b25..306aab0 100644 --- a/board/meson.build +++ b/board/meson.build @@ -2,10 +2,7 @@ board_lib = static_library( 'board', include_directories : inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), ], diff --git a/cardhook/meson.build b/cardhook/meson.build index f85dafe..dae53e8 100644 --- a/cardhook/meson.build +++ b/cardhook/meson.build @@ -3,10 +3,7 @@ shared_library( name_prefix : '', include_directories: inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), capnhook.get_variable('hooklib_dep'), diff --git a/chunihook/meson.build b/chunihook/meson.build index 40a7ad4..9b8636e 100644 --- a/chunihook/meson.build +++ b/chunihook/meson.build @@ -3,10 +3,7 @@ shared_library( name_prefix : '', include_directories : inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), capnhook.get_variable('hooklib_dep'), diff --git a/jvs/meson.build b/jvs/meson.build index fd18494..49737a0 100644 --- a/jvs/meson.build +++ b/jvs/meson.build @@ -2,10 +2,7 @@ jvs_lib = static_library( 'jvs', include_directories : inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), ], diff --git a/minihook/meson.build b/minihook/meson.build index c3a78ba..661c2d0 100644 --- a/minihook/meson.build +++ b/minihook/meson.build @@ -3,10 +3,7 @@ shared_library( name_prefix : '', include_directories: inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), ], diff --git a/platform/meson.build b/platform/meson.build index 560c3b3..91f5b85 100644 --- a/platform/meson.build +++ b/platform/meson.build @@ -2,10 +2,7 @@ platform_lib = static_library( 'platform', include_directories : inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), ], diff --git a/util/meson.build b/util/meson.build index 3b8f7a5..17197aa 100644 --- a/util/meson.build +++ b/util/meson.build @@ -2,10 +2,7 @@ util_lib = static_library( 'util', include_directories : inc, implicit_include_directories : false, - c_pch : [ - '../precompiled.c', - '../precompiled.h', - ], + c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), ],