OpenMPT: Compile libraries with precompiled headers so they build faster

CQTexperiment
Christopher Snowhill 2022-01-06 23:55:00 -08:00
parent 7ee76f914a
commit 60ad561a26
4 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#pragma once
#ifdef __cplusplus
// has to be first
#include "BuildSettings.h"
@ -152,3 +153,5 @@
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif

View File

@ -1379,6 +1379,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREFIX_HEADER = OpenMPT/common/stdafx.h;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
@ -1448,6 +1449,7 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREFIX_HEADER = OpenMPT/common/stdafx.h;
GCC_PREPROCESSOR_DEFINITIONS = (
"LIBOPENMPT_BUILD=1",
"HAVE_CONFIG_H=1",
@ -1484,6 +1486,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "@loader_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
@ -1505,6 +1508,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "@loader_path/../Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";

View File

@ -11,6 +11,7 @@
#pragma once
#ifdef __cplusplus
// has to be first
#include "openmpt/all/BuildSettings.hpp"
@ -139,3 +140,5 @@
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif

View File

@ -2223,6 +2223,8 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = OpenMPT/common/stdafx.h;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
@ -2293,6 +2295,8 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = OpenMPT/common/stdafx.h;
GCC_PREPROCESSOR_DEFINITIONS = (
"LIBOPENMPT_BUILD=1",
"HAVE_CONFIG_H=1",