From a757b53b36ed792f02255d997b1a447fdb5b2fee Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 10 Feb 2014 20:32:25 +0000 Subject: [PATCH] [SHELLEXTS] * Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62112 --- reactos/dll/shellext/deskadp/CMakeLists.txt | 7 +++++-- reactos/dll/shellext/deskmon/CMakeLists.txt | 7 +++++-- reactos/dll/shellext/fontext/CMakeLists.txt | 8 ++++++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/reactos/dll/shellext/deskadp/CMakeLists.txt b/reactos/dll/shellext/deskadp/CMakeLists.txt index 429cb9ea7c6..99fa79c344f 100644 --- a/reactos/dll/shellext/deskadp/CMakeLists.txt +++ b/reactos/dll/shellext/deskadp/CMakeLists.txt @@ -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) diff --git a/reactos/dll/shellext/deskmon/CMakeLists.txt b/reactos/dll/shellext/deskmon/CMakeLists.txt index e8e407588dc..c6b216f5f5c 100644 --- a/reactos/dll/shellext/deskmon/CMakeLists.txt +++ b/reactos/dll/shellext/deskmon/CMakeLists.txt @@ -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) diff --git a/reactos/dll/shellext/fontext/CMakeLists.txt b/reactos/dll/shellext/fontext/CMakeLists.txt index e17d4d80f45..78d88d31ce2 100644 --- a/reactos/dll/shellext/fontext/CMakeLists.txt +++ b/reactos/dll/shellext/fontext/CMakeLists.txt @@ -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)