Author: akhaldi
Date: Mon Feb 10 20:32:25 2014
New Revision: 62112

URL: http://svn.reactos.org/svn/reactos?rev=62112&view=rev
Log:
[SHELLEXTS]
* Prepare the CMake scripts for PCH.
CORE-7716

Modified:
    trunk/reactos/dll/shellext/deskadp/CMakeLists.txt
    trunk/reactos/dll/shellext/deskmon/CMakeLists.txt
    trunk/reactos/dll/shellext/fontext/CMakeLists.txt

Modified: trunk/reactos/dll/shellext/deskadp/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/deskadp/CMakeLists.txt?rev=62112&r1=62111&r2=62112&view=diff
==============================================================================
--- trunk/reactos/dll/shellext/deskadp/CMakeLists.txt   [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/deskadp/CMakeLists.txt   [iso-8859-1] Mon Feb 10 
20:32:25 2014
@@ -4,10 +4,13 @@
 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 @@
     kernel32
     ntdll)
 
-add_pch(deskadp precomp.h)
+add_pch(deskadp precomp.h SOURCE)
 add_cd_file(TARGET deskadp DESTINATION reactos/system32 FOR all)

Modified: trunk/reactos/dll/shellext/deskmon/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/deskmon/CMakeLists.txt?rev=62112&r1=62111&r2=62112&view=diff
==============================================================================
--- trunk/reactos/dll/shellext/deskmon/CMakeLists.txt   [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/deskmon/CMakeLists.txt   [iso-8859-1] Mon Feb 10 
20:32:25 2014
@@ -4,10 +4,13 @@
 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 @@
     kernel32
     ntdll)
 
-add_pch(deskmon precomp.h)
+add_pch(deskmon precomp.h SOURCE)
 add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)

Modified: trunk/reactos/dll/shellext/fontext/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/fontext/CMakeLists.txt?rev=62112&r1=62111&r2=62112&view=diff
==============================================================================
--- trunk/reactos/dll/shellext/fontext/CMakeLists.txt   [iso-8859-1] (original)
+++ trunk/reactos/dll/shellext/fontext/CMakeLists.txt   [iso-8859-1] Mon Feb 10 
20:32:25 2014
@@ -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 @@
     kernel32
     ntdll)
 
-add_pch(fontext fontext.h)
+add_pch(fontext fontext.h SOURCE)
 add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)


Reply via email to