* Introduce a PCH suitable for use without altering the 3rd party code.
* Prepare the CMake scripts for PCH.
CORE-7716

svn path=/trunk/; revision=62122
This commit is contained in:
Amine Khaldi 2014-02-11 21:36:39 +00:00
parent 9618b3511d
commit 87399ed5fb
2 changed files with 9 additions and 1 deletions

View file

@ -54,10 +54,12 @@ list(APPEND SOURCE
src/core/snmp/mib_structs.c
src/core/snmp/mib2.c
src/core/snmp/msg_in.c
src/core/snmp/msg_out.c)
src/core/snmp/msg_out.c
precomp.h)
add_library(lwip ${SOURCE})
add_dependencies(lwip bugcodes)
add_pch(lwip precomp.h SOURCE)
if(NOT MSVC)
allow_warnings(lwip)
if(LTCG)

View file

@ -0,0 +1,6 @@
#ifndef _LWIP_PCH_
#define _LWIP_PCH_
#include "src/include/lwip/opt.h"
#endif /* _LWIP_PCH_ */