mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[LIBS]
* Introduce PCH to the remaining libs when possible, using their main headers. svn path=/trunk/; revision=52986
This commit is contained in:
parent
3e20601b21
commit
d8d265ce72
16 changed files with 17 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
* Copyright 2001 - 2005 Eric Kohl
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// Debug support switch
|
||||
//
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -23,4 +23,5 @@ list(APPEND SOURCE
|
|||
utf8.c)
|
||||
|
||||
add_library(dnslib ${SOURCE})
|
||||
add_dependencies(dnslib psdk)
|
||||
add_pch(dnslib inc/precomp.h)
|
||||
add_dependencies(dnslib psdk)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
add_subdirectory(legacy)
|
||||
#add_subdirectory(legacy)
|
||||
add_subdirectory(mmebuddy)
|
||||
add_subdirectory(mment4)
|
||||
add_subdirectory(mmixer)
|
||||
|
|
|
@ -15,5 +15,6 @@ list(APPEND SOURCE
|
|||
topology.c)
|
||||
|
||||
add_library(mmixer ${SOURCE})
|
||||
add_pch(mmixer priv.h)
|
||||
add_dependencies(mmixer bugcodes)
|
||||
|
||||
|
|
|
@ -10,4 +10,5 @@
|
|||
<file>sup.c</file>
|
||||
<file>wave.c</file>
|
||||
<file>topology.c</file>
|
||||
<pch>priv.h</pch>
|
||||
</module>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include <pseh/pseh2.h>
|
||||
#include <ntddk.h>
|
||||
|
||||
|
|
|
@ -12,4 +12,5 @@ list(APPEND SOURCE
|
|||
fat32.c
|
||||
vfatlib.c)
|
||||
add_library(vfatlib ${SOURCE})
|
||||
add_pch(vfatlib vfatlib.h)
|
||||
add_dependencies(vfatlib psdk)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
add_library(vfatxlib fatx.c vfatxlib.c)
|
||||
|
||||
add_pch(vfatxlib vfatxlib.h)
|
||||
target_link_libraries(vfatxlib chkstk)
|
||||
|
||||
if(NOT MSVC)
|
||||
|
|
|
@ -4,4 +4,5 @@
|
|||
<include base="vfatxlib">.</include>
|
||||
<file>fatx.c</file>
|
||||
<file>vfatxlib.c</file>
|
||||
<pch>vfatxlib.h</pch>
|
||||
</module>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -8,4 +8,5 @@ list(APPEND SOURCE
|
|||
lookupss.c)
|
||||
|
||||
add_library(smlib ${SOURCE})
|
||||
add_pch(smlib precomp.h)
|
||||
add_dependencies(smlib psdk)
|
||||
|
|
Loading…
Reference in a new issue