mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-23 21:10:57 +01:00
Add MSVC PCH support
This commit is contained in:
parent
6adb4e7b8b
commit
51e4eca7dd
@ -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'),
|
||||
],
|
||||
|
@ -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'),
|
||||
|
@ -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'),
|
||||
|
@ -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'),
|
||||
],
|
||||
|
@ -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'),
|
||||
],
|
||||
|
@ -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
1
precompiled.c
Normal file
@ -0,0 +1 @@
|
||||
#include "precompiled.h"
|
@ -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'),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user