mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NFS41_NP] Add a PCH.
This commit is contained in:
parent
af212ce508
commit
58428a6c29
2 changed files with 15 additions and 2 deletions
|
@ -5,13 +5,19 @@ list(APPEND SOURCE
|
|||
nfs41_np.c
|
||||
nfs41_np.h
|
||||
options.c
|
||||
options.h)
|
||||
options.h
|
||||
precomp.h)
|
||||
|
||||
include_directories(
|
||||
${REACTOS_SOURCE_DIR}/drivers/filesystems/nfs)
|
||||
|
||||
add_library(nfs41_np SHARED ${SOURCE} nfsnp.rc ${CMAKE_CURRENT_BINARY_DIR}/nfs41_np.def)
|
||||
add_library(nfs41_np SHARED
|
||||
${SOURCE}
|
||||
nfsnp.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/nfs41_np.def)
|
||||
|
||||
set_module_type(nfs41_np win32dll UNICODE)
|
||||
target_link_libraries(nfs41_np ${PSEH_LIB})
|
||||
add_importlibs(nfs41_np msvcrt kernel32)
|
||||
add_pch(nfs41_np precomp.h SOURCE)
|
||||
add_cd_file(TARGET nfs41_np DESTINATION reactos/system32 FOR all)
|
||||
|
|
7
dll/np/nfs/precomp.h
Normal file
7
dll/np/nfs/precomp.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#ifdef _NFS_PRECOMP_H_
|
||||
#define _NFS_PRECOMP_H_
|
||||
|
||||
#include <windows.h>
|
||||
#include "options.h"
|
||||
|
||||
#endif /* _NFS_PRECOMP_H_ */
|
Loading…
Reference in a new issue