* Introduce PCH to the remaining libs when possible, using their main headers.

svn path=/trunk/; revision=52986
This commit is contained in:
Amine Khaldi 2011-07-28 16:23:25 +00:00
parent 3e20601b21
commit d8d265ce72
16 changed files with 17 additions and 7 deletions

View file

@ -15,6 +15,7 @@ list(APPEND SOURCE
if(CMAKE_CROSSCOMPILING)
add_library(cmlib ${SOURCE})
add_dependencies(cmlib bugcodes)
add_pch(cmlib cmlib.h)
else()
add_definitions(
-D__NO_CTYPE_INLINES

View file

@ -5,8 +5,6 @@
* Copyright 2001 - 2005 Eric Kohl
*/
#pragma once
//
// Debug support switch
//

View file

@ -12,6 +12,7 @@
<file>hiveinit.c</file>
<file>hivesum.c</file>
<file>hivewrt.c</file>
<pch>cmlib.h</pch>
</module>
<module name="cmlibhost" type="hoststaticlibrary">
<include base="cmlibhost">.</include>

View file

@ -23,4 +23,5 @@ list(APPEND SOURCE
utf8.c)
add_library(dnslib ${SOURCE})
add_pch(dnslib inc/precomp.h)
add_dependencies(dnslib psdk)

View file

@ -19,4 +19,7 @@
<file>string.c</file>
<file>table.c</file>
<file>utf8.c</file>
<directory name="inc">
<pch>precomp.h</pch>
</directory>
</module>

View file

@ -1,5 +1,5 @@
add_subdirectory(legacy)
#add_subdirectory(legacy)
add_subdirectory(mmebuddy)
add_subdirectory(mment4)
add_subdirectory(mmixer)

View file

@ -15,5 +15,6 @@ list(APPEND SOURCE
topology.c)
add_library(mmixer ${SOURCE})
add_pch(mmixer priv.h)
add_dependencies(mmixer bugcodes)

View file

@ -10,4 +10,5 @@
<file>sup.c</file>
<file>wave.c</file>
<file>topology.c</file>
<pch>priv.h</pch>
</module>

View file

@ -1,5 +1,3 @@
#pragma once
#include <pseh/pseh2.h>
#include <ntddk.h>

View file

@ -12,4 +12,5 @@ list(APPEND SOURCE
fat32.c
vfatlib.c)
add_library(vfatlib ${SOURCE})
add_pch(vfatlib vfatlib.h)
add_dependencies(vfatlib psdk)

View file

@ -6,6 +6,7 @@
<file>fat16.c</file>
<file>fat32.c</file>
<file>vfatlib.c</file>
<pch>vfatlib.h</pch>
<directory name="check">
<file>boot.c</file>

View file

@ -1,6 +1,6 @@
add_library(vfatxlib fatx.c vfatxlib.c)
add_pch(vfatxlib vfatxlib.h)
target_link_libraries(vfatxlib chkstk)
if(NOT MSVC)

View file

@ -4,4 +4,5 @@
<include base="vfatxlib">.</include>
<file>fatx.c</file>
<file>vfatxlib.c</file>
<pch>vfatxlib.h</pch>
</module>

View file

@ -11,6 +11,7 @@ if(CMAKE_CROSSCOMPILING)
infrosput.c)
add_library(inflib ${GLOBAL_FILES} ${SOURCE})
add_pch(inflib inflib.h)
add_dependencies(inflib psdk)
else()
list(APPEND SOURCE

View file

@ -9,6 +9,7 @@
<file>infrosgen.c</file>
<file>infrosget.c</file>
<file>infrosput.c</file>
<pch>inflib.h</pch>
</module>
<module name="newinflibhost" type="hoststaticlibrary" allowwarnings="true">
<include base="newinflibhost">.</include>

View file

@ -8,4 +8,5 @@ list(APPEND SOURCE
lookupss.c)
add_library(smlib ${SOURCE})
add_pch(smlib precomp.h)
add_dependencies(smlib psdk)