1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-27 22:40:48 +01:00

Add MSVC PCH support

This commit is contained in:
Tau 2018-11-23 18:17:02 -05:00
parent 6adb4e7b8b
commit 51e4eca7dd
8 changed files with 29 additions and 7 deletions

View File

@ -2,7 +2,10 @@ board_lib = static_library(
'board',
include_directories : inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
dependencies : [
capnhook.get_variable('hook_dep'),
],

View File

@ -3,7 +3,10 @@ shared_library(
name_prefix : '',
include_directories: inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
dependencies : [
capnhook.get_variable('hook_dep'),
capnhook.get_variable('hooklib_dep'),

View File

@ -3,7 +3,10 @@ shared_library(
name_prefix : '',
include_directories : inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
dependencies : [
capnhook.get_variable('hook_dep'),
capnhook.get_variable('hooklib_dep'),

View File

@ -2,7 +2,10 @@ jvs_lib = static_library(
'jvs',
include_directories : inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
dependencies : [
capnhook.get_variable('hook_dep'),
],

View File

@ -3,7 +3,10 @@ shared_library(
name_prefix : '',
include_directories: inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
dependencies : [
capnhook.get_variable('hook_dep'),
],

View File

@ -2,7 +2,10 @@ nu_lib = static_library(
'nu',
include_directories : inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
dependencies : [
capnhook.get_variable('hook_dep'),
capnhook.get_variable('hooklib_dep'),

1
precompiled.c Normal file
View File

@ -0,0 +1 @@
#include "precompiled.h"

View File

@ -2,7 +2,10 @@ util_lib = static_library(
'util',
include_directories : inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
dependencies : [
capnhook.get_variable('hook_dep'),
],