Author: akhaldi
Date: Wed Feb 12 13:50:38 2014
New Revision: 62130
URL:
http://svn.reactos.org/svn/reactos?rev=62130&view=rev
Log:
[USETUP]
* Prepare the CMake script for PCH.
CORE-7716
Modified:
trunk/reactos/base/setup/usetup/CMakeLists.txt
Modified: trunk/reactos/base/setup/usetup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/CMakeLis…
==============================================================================
--- trunk/reactos/base/setup/usetup/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/CMakeLists.txt [iso-8859-1] Wed Feb 12 13:50:38 2014
@@ -6,7 +6,7 @@
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib
${REACTOS_SOURCE_DIR}/include/reactos/drivers)
-add_executable(usetup
+list(APPEND SOURCE
interface/usetup.c
interface/devinst.c
interface/consup.c
@@ -30,7 +30,9 @@
progress.c
registry.c
settings.c
- usetup.rc)
+ usetup.h)
+
+add_executable(usetup ${SOURCE} usetup.rc)
target_link_libraries(usetup
zlib
@@ -40,5 +42,5 @@
set_module_type(usetup nativecui)
add_importlibs(usetup ntdll)
-add_pch(usetup usetup.h)
+add_pch(usetup usetup.h SOURCE)
add_cd_file(TARGET usetup DESTINATION reactos/system32 NO_CAB NAME_ON_CD smss.exe FOR
bootcd regtest)