]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * File: dummy.cc | |
3 | * Purpose: See below | |
4 | * Author: Julian Smart | |
5 | * Created: 1993 | |
6 | * Updated: | |
7 | * Copyright: (c) Julian Smart | |
8 | */ | |
9 | ||
10 | /* A dummy file to include wx.h. If precompiling wx.h, I | |
11 | * always start by compiling this and producing the PCH file. | |
12 | * Then subsequent source files use the PCH file. | |
13 | * | |
14 | * If precompiling wx.h for wxWidgets and derived apps, | |
15 | * link dummy.obj with your program (the MSC 7 linker complains otherwise). | |
16 | * | |
17 | * This is the only convenient way I found to use precompiled headers | |
18 | * under MSC 7. | |
19 | * | |
20 | * This will produce a big PCH file. | |
21 | */ | |
22 | ||
23 | /* RN: MSVC Spits out annoying warnings about debug info - tell it to be quiet! */ | |
24 | #ifdef _MSC_VER | |
25 | #pragma warning(disable : 4786) | |
26 | #endif // _MSC_VER | |
27 | ||
28 | #include "testprec.h" |