Author: akhaldi
Date: Mon Feb 10 17:05:15 2014
New Revision: 62102
URL:
http://svn.reactos.org/svn/reactos?rev=62102&view=rev
Log:
[ROSAUTOTEST]
* Prepare the CMake script for PCH.
* Add header guards to the main header.
CORE-7716
Modified:
trunk/rostests/rosautotest/CMakeLists.txt
trunk/rostests/rosautotest/precomp.h
Modified: trunk/rostests/rosautotest/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/CMakeLists.tx…
==============================================================================
--- trunk/rostests/rosautotest/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/CMakeLists.txt [iso-8859-1] Mon Feb 10 17:05:15 2014
@@ -16,12 +16,13 @@
CWineTest.cpp
main.cpp
shutdown.cpp
- tools.cpp)
+ tools.cpp
+ precomp.h)
add_executable(rosautotest ${SOURCE})
set_module_type(rosautotest win32cui UNICODE)
add_importlibs(rosautotest advapi32 shell32 user32 wininet msvcrt kernel32 ntdll)
-add_pch(rosautotest precomp.h)
+add_pch(rosautotest precomp.h SOURCE)
add_cd_file(TARGET rosautotest DESTINATION reactos/system32 FOR all)
Modified: trunk/rostests/rosautotest/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/precomp.h?rev…
==============================================================================
--- trunk/rostests/rosautotest/precomp.h [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/precomp.h [iso-8859-1] Mon Feb 10 17:05:15 2014
@@ -1,3 +1,6 @@
+#ifndef _ROSAUTOTEST_H_
+#define _ROSAUTOTEST_H_
+
/* General includes */
#include <iostream>
#include <memory>
@@ -57,3 +60,5 @@
string StringOut(const string& String, bool forcePrint = true);
string UnicodeToAscii(PCWSTR UnicodeString);
string UnicodeToAscii(const wstring& UnicodeString);
+
+#endif /* _ROSAUTOTEST_H_ */