Skip to content

Commit 58428a6

Browse files
committed
[NFS41_NP] Add a PCH.
1 parent af212ce commit 58428a6

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

dll/np/nfs/CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ list(APPEND SOURCE
55
nfs41_np.c
66
nfs41_np.h
77
options.c
8-
options.h)
8+
options.h
9+
precomp.h)
910

1011
include_directories(
1112
${REACTOS_SOURCE_DIR}/drivers/filesystems/nfs)
1213

13-
add_library(nfs41_np SHARED ${SOURCE} nfsnp.rc ${CMAKE_CURRENT_BINARY_DIR}/nfs41_np.def)
14+
add_library(nfs41_np SHARED
15+
${SOURCE}
16+
nfsnp.rc
17+
${CMAKE_CURRENT_BINARY_DIR}/nfs41_np.def)
18+
1419
set_module_type(nfs41_np win32dll UNICODE)
1520
target_link_libraries(nfs41_np ${PSEH_LIB})
1621
add_importlibs(nfs41_np msvcrt kernel32)
22+
add_pch(nfs41_np precomp.h SOURCE)
1723
add_cd_file(TARGET nfs41_np DESTINATION reactos/system32 FOR all)

dll/np/nfs/precomp.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#ifdef _NFS_PRECOMP_H_
2+
#define _NFS_PRECOMP_H_
3+
4+
#include <windows.h>
5+
#include "options.h"
6+
7+
#endif /* _NFS_PRECOMP_H_ */

0 commit comments

Comments
 (0)