[ROSAUTOTEST]

* Prepare the CMake script for PCH.
* Add header guards to the main header.
CORE-7716

svn path=/trunk/; revision=62102
This commit is contained in:
Amine Khaldi 2014-02-10 17:05:15 +00:00
parent 6184b165c0
commit 1c95bdd14c
2 changed files with 8 additions and 2 deletions

View file

@ -16,12 +16,13 @@ list(APPEND SOURCE
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)

View file

@ -1,3 +1,6 @@
#ifndef _ROSAUTOTEST_H_
#define _ROSAUTOTEST_H_
/* General includes */
#include <iostream>
#include <memory>
@ -57,3 +60,5 @@ bool IsNumber(const char* Input);
string StringOut(const string& String, bool forcePrint = true);
string UnicodeToAscii(PCWSTR UnicodeString);
string UnicodeToAscii(const wstring& UnicodeString);
#endif /* _ROSAUTOTEST_H_ */