[COMDLG32_WINETEST] Add a PCH.

This commit is contained in:
Amine Khaldi 2017-12-17 12:28:41 +01:00
parent 71ddf5374a
commit 0622ce1775
7 changed files with 31 additions and 67 deletions

View file

@ -7,10 +7,15 @@ list(APPEND SOURCE
fontdlg.c
itemdlg.c
printdlg.c
testlist.c)
precomp.h)
add_executable(comdlg32_winetest
${SOURCE}
testlist.c
rsrc.rc)
add_executable(comdlg32_winetest ${SOURCE} rsrc.rc)
target_link_libraries(comdlg32_winetest uuid)
set_module_type(comdlg32_winetest win32cui)
add_importlibs(comdlg32_winetest comdlg32 winspool user32 gdi32 ole32 shell32 msvcrt kernel32)
add_pch(comdlg32_winetest precomp.h SOURCE)
add_rostests_file(TARGET comdlg32_winetest)

View file

@ -19,24 +19,10 @@
*
*/
//#include <windows.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <wine/test.h>
#include <wingdi.h>
#include <objbase.h>
#include <cderr.h>
#include <dlgs.h>
#include <commdlg.h>
#include "precomp.h"
#include <shlguid.h>
#define COBJMACROS
#include <shobjidl.h>
#include <ole2.h>
#include <reactos/undocuser.h>

View file

@ -19,16 +19,7 @@
*
*/
//#include "windows.h"
#define WIN32_NO_STATUS
#include <wine/test.h>
#include <wingdi.h>
#include <winuser.h>
#include <cderr.h>
#include <commdlg.h>
#include "precomp.h"
static UINT ID_FINDMSGSTRING;

View file

@ -19,21 +19,9 @@
*
*/
#define WIN32_NO_STATUS
#include "precomp.h"
#include <wine/test.h>
//#include <stdarg.h>
//#include "windef.h"
//#include "winbase.h"
//#include "winerror.h"
#include <wingdi.h>
#include <winspool.h>
#include <winuser.h>
//#include "objbase.h"
#include <commdlg.h>
static int get_dpiy(void)
{

View file

@ -19,15 +19,9 @@
*
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <wine/test.h>
#define COBJMACROS
#define CONST_VTABLE
#include "precomp.h"
#include <wincon.h>
#include <shlobj.h>
#define IDT_CHANGEFILETYPE 500

View file

@ -0,0 +1,18 @@
#ifndef _COMDLG32_WINETEST_PRECOMP_H_
#define _COMDLG32_WINETEST_PRECOMP_H_
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <wingdi.h>
#include <objbase.h>
#include <cderr.h>
#include <commdlg.h>
#include <dlgs.h>
#endif /* !_COMDLG32_WINETEST_PRECOMP_H_ */

View file

@ -20,25 +20,7 @@
*
*/
#define COBJMACROS
#define CONST_VTABLE
#define WIN32_NO_STATUS
#include <wine/test.h>
//#include <stdarg.h>
#include <stdio.h>
//#include "windef.h"
//#include "winbase.h"
//#include "winerror.h"
#include <wingdi.h>
#include <winuser.h>
#include <objbase.h>
#include <cderr.h>
#include <commdlg.h>
#include <dlgs.h>
#include "precomp.h"
/* ########################### */