Author: akhaldi
Date: Mon Jul 25 23:50:18 2011
New Revision: 52884
URL:
http://svn.reactos.org/svn/reactos?rev=52884&view=rev
Log:
[SPIDER]
* Designate spider.h as a precompiled header and use it as one.
Modified:
trunk/reactos/base/applications/games/spider/CMakeLists.txt
trunk/reactos/base/applications/games/spider/spider.cpp
trunk/reactos/base/applications/games/spider/spider.h
trunk/reactos/base/applications/games/spider/spider.rbuild
trunk/reactos/base/applications/games/spider/spigame.cpp
Modified: trunk/reactos/base/applications/games/spider/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/CMakeLists.txt [iso-8859-1] Mon Jul 25
23:50:18 2011
@@ -12,9 +12,7 @@
rsrc.rc)
target_link_libraries(spider cardlib)
-
+add_pch(spider spider.h)
set_module_type(spider win32gui)
-
add_importlibs(spider advapi32 comctl32 user32 gdi32 msvcrt kernel32)
-
add_cd_file(TARGET spider DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/games/spider/spider.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spider.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spider.cpp [iso-8859-1] Mon Jul 25
23:50:18 2011
@@ -6,13 +6,6 @@
* PROGRAMMER: Gregor Schneider
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <tchar.h>
-#include <stdlib.h>
-
-#include "resource.h"
-#include "cardlib.h"
#include "spider.h"
TCHAR szHelpPath[MAX_PATH];
Modified: trunk/reactos/base/applications/games/spider/spider.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spider.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spider.h [iso-8859-1] Mon Jul 25 23:50:18
2011
@@ -1,4 +1,12 @@
-#pragma once
+
+#include <windows.h>
+#include <commctrl.h>
+#include <tchar.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include "resource.h"
+#include "cardlib.h"
+
#define DIFFICULTY_ONE_COLOR 1
#define DIFFICULTY_TWO_COLORS 2
Modified: trunk/reactos/base/applications/games/spider/spider.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spider.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spider.rbuild [iso-8859-1] Mon Jul 25
23:50:18 2011
@@ -7,4 +7,5 @@
<file>spigame.cpp</file>
<file>spider.cpp</file>
<file>rsrc.rc</file>
+ <pch>spider.h</pch>
</module>
Modified: trunk/reactos/base/applications/games/spider/spigame.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spigame.cpp [iso-8859-1] Mon Jul 25
23:50:18 2011
@@ -6,13 +6,6 @@
* PROGRAMMER: Gregor Schneider
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <tchar.h>
-#include <stdio.h>
-
-#include "resource.h"
-#include "cardlib.h"
#include "spider.h"
#define NUM_DECK_CARDS 5