Author: akhaldi
Date: Thu Jul 28 16:23:25 2011
New Revision: 52986
URL:
http://svn.reactos.org/svn/reactos?rev=52986&view=rev
Log:
[LIBS]
* Introduce PCH to the remaining libs when possible, using their main headers.
Modified:
trunk/reactos/lib/cmlib/CMakeLists.txt
trunk/reactos/lib/cmlib/cmlib.h
trunk/reactos/lib/cmlib/cmlib.rbuild
trunk/reactos/lib/dnslib/CMakeLists.txt
trunk/reactos/lib/dnslib/dnslib.rbuild
trunk/reactos/lib/drivers/sound/CMakeLists.txt
trunk/reactos/lib/drivers/sound/mmixer/CMakeLists.txt
trunk/reactos/lib/drivers/sound/mmixer/mmixer.rbuild
trunk/reactos/lib/drivers/sound/mmixer/priv.h
trunk/reactos/lib/fslib/vfatlib/CMakeLists.txt
trunk/reactos/lib/fslib/vfatlib/vfatlib.rbuild
trunk/reactos/lib/fslib/vfatxlib/CMakeLists.txt
trunk/reactos/lib/fslib/vfatxlib/vfatxlib.rbuild
trunk/reactos/lib/newinflib/CMakeLists.txt
trunk/reactos/lib/newinflib/inflib.rbuild
trunk/reactos/lib/smlib/CMakeLists.txt
Modified: trunk/reactos/lib/cmlib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/lib/cmlib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -15,6 +15,7 @@
if(CMAKE_CROSSCOMPILING)
add_library(cmlib ${SOURCE})
add_dependencies(cmlib bugcodes)
+ add_pch(cmlib cmlib.h)
else()
add_definitions(
-D__NO_CTYPE_INLINES
Modified: trunk/reactos/lib/cmlib/cmlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmlib.h?rev=5298…
==============================================================================
--- trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -4,8 +4,6 @@
* COPYRIGHT: Copyright 2005 Filip Navara <navaraf(a)reactos.org>
* Copyright 2001 - 2005 Eric Kohl
*/
-
-#pragma once
//
// Debug support switch
Modified: trunk/reactos/lib/cmlib/cmlib.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmlib.rbuild?rev…
==============================================================================
--- trunk/reactos/lib/cmlib/cmlib.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmlib.rbuild [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -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>
Modified: trunk/reactos/lib/dnslib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/dnslib/CMakeLists.txt?…
==============================================================================
--- trunk/reactos/lib/dnslib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/dnslib/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -23,4 +23,5 @@
utf8.c)
add_library(dnslib ${SOURCE})
-add_dependencies(dnslib psdk)
+add_pch(dnslib inc/precomp.h)
+add_dependencies(dnslib psdk)
Modified: trunk/reactos/lib/dnslib/dnslib.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/dnslib/dnslib.rbuild?r…
==============================================================================
--- trunk/reactos/lib/dnslib/dnslib.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/dnslib/dnslib.rbuild [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -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>
Modified: trunk/reactos/lib/drivers/sound/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/CMakeLis…
==============================================================================
--- trunk/reactos/lib/drivers/sound/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -1,5 +1,5 @@
-add_subdirectory(legacy)
+#add_subdirectory(legacy)
add_subdirectory(mmebuddy)
add_subdirectory(mment4)
add_subdirectory(mmixer)
Modified: trunk/reactos/lib/drivers/sound/mmixer/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmixer/C…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmixer/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmixer/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25
2011
@@ -15,5 +15,6 @@
topology.c)
add_library(mmixer ${SOURCE})
+add_pch(mmixer priv.h)
add_dependencies(mmixer bugcodes)
Modified: trunk/reactos/lib/drivers/sound/mmixer/mmixer.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmixer/m…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmixer/mmixer.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmixer/mmixer.rbuild [iso-8859-1] Thu Jul 28 16:23:25
2011
@@ -10,4 +10,5 @@
<file>sup.c</file>
<file>wave.c</file>
<file>topology.c</file>
+ <pch>priv.h</pch>
</module>
Modified: trunk/reactos/lib/drivers/sound/mmixer/priv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/mmixer/p…
==============================================================================
--- trunk/reactos/lib/drivers/sound/mmixer/priv.h [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/mmixer/priv.h [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -1,5 +1,3 @@
-#pragma once
-
#include <pseh/pseh2.h>
#include <ntddk.h>
Modified: trunk/reactos/lib/fslib/vfatlib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/CMakeLis…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -12,4 +12,5 @@
fat32.c
vfatlib.c)
add_library(vfatlib ${SOURCE})
+add_pch(vfatlib vfatlib.h)
add_dependencies(vfatlib psdk)
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/vfatlib.…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.rbuild [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -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>
Modified: trunk/reactos/lib/fslib/vfatxlib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatxlib/CMakeLi…
==============================================================================
--- trunk/reactos/lib/fslib/vfatxlib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatxlib/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -1,6 +1,6 @@
add_library(vfatxlib fatx.c vfatxlib.c)
-
+add_pch(vfatxlib vfatxlib.h)
target_link_libraries(vfatxlib chkstk)
if(NOT MSVC)
Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatxlib/vfatxli…
==============================================================================
--- trunk/reactos/lib/fslib/vfatxlib/vfatxlib.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatxlib/vfatxlib.rbuild [iso-8859-1] Thu Jul 28 16:23:25
2011
@@ -4,4 +4,5 @@
<include base="vfatxlib">.</include>
<file>fatx.c</file>
<file>vfatxlib.c</file>
+ <pch>vfatxlib.h</pch>
</module>
Modified: trunk/reactos/lib/newinflib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/newinflib/CMakeLists.t…
==============================================================================
--- trunk/reactos/lib/newinflib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/newinflib/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -11,6 +11,7 @@
infrosput.c)
add_library(inflib ${GLOBAL_FILES} ${SOURCE})
+ add_pch(inflib inflib.h)
add_dependencies(inflib psdk)
else()
list(APPEND SOURCE
Modified: trunk/reactos/lib/newinflib/inflib.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/newinflib/inflib.rbuil…
==============================================================================
--- trunk/reactos/lib/newinflib/inflib.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/newinflib/inflib.rbuild [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -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>
Modified: trunk/reactos/lib/smlib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/smlib/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/lib/smlib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/smlib/CMakeLists.txt [iso-8859-1] Thu Jul 28 16:23:25 2011
@@ -8,4 +8,5 @@
lookupss.c)
add_library(smlib ${SOURCE})
+add_pch(smlib precomp.h)
add_dependencies(smlib psdk)