[SHELLEXTS]

* Prepare the CMake scripts for PCH.
CORE-7716

svn path=/trunk/; revision=62112
This commit is contained in:
Amine Khaldi 2014-02-10 20:32:25 +00:00
parent 6b5847aa6a
commit a757b53b36
3 changed files with 16 additions and 6 deletions

View file

@ -4,10 +4,13 @@ spec2def(deskadp.dll deskadp.spec)
list(APPEND SOURCE
deskadp.c
shxiface.c
precomp.h)
add_library(deskadp SHARED
${SOURCE}
deskadp.rc
${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
add_library(deskadp SHARED ${SOURCE})
set_module_type(deskadp win32dll UNICODE)
target_link_libraries(deskadp uuid)
@ -20,5 +23,5 @@ add_importlibs(deskadp
kernel32
ntdll)
add_pch(deskadp precomp.h)
add_pch(deskadp precomp.h SOURCE)
add_cd_file(TARGET deskadp DESTINATION reactos/system32 FOR all)

View file

@ -4,10 +4,13 @@ spec2def(deskmon.dll deskmon.spec)
list(APPEND SOURCE
deskmon.c
shxiface.c
precomp.h)
add_library(deskmon SHARED
${SOURCE}
deskmon.rc
${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
add_library(deskmon SHARED ${SOURCE})
set_module_type(deskmon win32dll UNICODE)
target_link_libraries(deskmon uuid)
@ -20,5 +23,5 @@ add_importlibs(deskmon
kernel32
ntdll)
add_pch(deskmon precomp.h)
add_pch(deskmon precomp.h SOURCE)
add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)

View file

@ -1,9 +1,13 @@
spec2def(fontext.dll fontext.spec)
add_library(fontext SHARED
list(APPEND SOURCE
fontext.c
regsvr.c
fontext.h)
add_library(fontext SHARED
${SOURCE}
fontext.rc
${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
@ -22,5 +26,5 @@ add_importlibs(fontext
kernel32
ntdll)
add_pch(fontext fontext.h)
add_pch(fontext fontext.h SOURCE)
add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)