]> git.lyx.org Git - lyx.git/blob - development/cmake/config.C.cmake
add support of precompiled headers for msvc, enable with -Dpch=1, disable headers...
[lyx.git] / development / cmake / config.C.cmake
1 /*\r
2  * \file config.C\r
3  * This file is part of LyX, the document processor.\r
4  * Licence details can be found in the file COPYING.\r
5  *\r
6  * This is the compilation configuration file for LyX.\r
7  * It was generated by autoconfs configure.\r
8  * You might want to change some of the defaults if something goes wrong\r
9  * during the compilation.\r
10  */\r
11 \r
12 #include <config.h>\r
13 \r
14 //#define LYX_DONT_PRECOMPILE_SRC\r
15 //#define LYX_DONT_PRECOMPILE_SUPPORT\r
16 //#define LYX_DONT_PRECOMPILE_INSETS\r
17 //#define LYX_DONT_PRECOMPILE_MATHED\r
18 //#define LYX_DONT_PRECOMPILE_FRONTENDS\r
19 //#define LYX_DONT_PRECOMPILE_CONTROLLERS\r
20 \r
21 #include <boost/any.hpp>\r
22 #include <boost/array.hpp>\r
23 #include <boost/assert.hpp>\r
24 #include <boost/crc.hpp>\r
25 #include <boost/cregex.hpp>\r
26 #include <boost/current_function.hpp>\r
27 #include <boost/function.hpp>\r
28 #include <boost/iterator/indirect_iterator.hpp>\r
29 #include <boost/optional.hpp>\r
30 #include <boost/regex.hpp>\r
31 #include <boost/scoped_array.hpp>\r
32 #include <boost/scoped_ptr.hpp>\r
33 #include <boost/shared_ptr.hpp>\r
34 #include <boost/signals/connection.hpp>\r
35 #include <boost/signal.hpp>\r
36 #include <boost/signals/trackable.hpp>\r
37 #include <boost/version.hpp>\r
38 \r
39 #if BOOST_VERSION < 103300\r
40 # include <boost/test/detail/nullstream.hpp>\r
41 #else\r
42 # include <boost/test/utils/nullstream.hpp>\r
43 #endif\r
44 \r
45 #include <boost/tokenizer.hpp>\r
46 #include <boost/tuple/tuple.hpp>\r
47 #include <boost/utility.hpp>\r
48 \r
49 #include <algorithm>\r
50 #include <cerrno>\r
51 #include <clocale>\r
52 #include <csignal>\r
53 #include <cstddef>\r
54 #include <cstdio>\r
55 #include <cstdlib>\r
56 #include <deque>\r
57 #include <exception>\r
58 #include <fstream>\r
59 #include <functional>\r
60 #include <iomanip>\r
61 #include <ios>\r
62 #include <iosfwd>\r
63 #include <iostream>\r
64 #include <iterator>\r
65 #include <list>\r
66 #include <map>\r
67 #include <queue>\r
68 #include <set>\r
69 #include <sstream>\r
70 #include <stack>\r
71 #include <string>\r
72 #include <utility>\r
73 #include <vector>\r
74 \r
75 #ifndef LYX_DONT_PRECOMPILE_SRC\r
76 #include <vspace.h>\r
77 #include <version.h>\r
78 #include <vc-backend.h>\r
79 #include <undo.h>\r
80 #include <trans_mgr.h>\r
81 #include <trans_decl.h>\r
82 #include <trans.h>\r
83 #include <toc.h>\r
84 #include <texrow.h>\r
85 #include <tex-strings.h>\r
86 #include <tex-accent.h>\r
87 #include <tabular.h>\r
88 #include <sgml.h>\r
89 #include <session.h>\r
90 #include <rowpainter.h>\r
91 #include <pspell.h>\r
92 #include <pariterator.h>\r
93 #include <paragraph_pimpl.h>\r
94 #include <paragraph_funcs.h>\r
95 #include <paragraph.h>\r
96 #include <paper.h>\r
97 #include <outputparams.h>\r
98 #include <output_plaintext.h>\r
99 #include <output_latex.h>\r
100 #include <output_docbook.h>\r
101 #include <output.h>\r
102 #include <mover.h>\r
103 #include <metricsinfo.h>\r
104 #include <messages.h>\r
105 #include <lyxvc.h>\r
106 #include <lyxtextclasslist.h>\r
107 #include <lyxtextclass.h>\r
108 #include <lyxtext.h>\r
109 #include <lyxsocket.h>\r
110 #include <lyxserver.h>\r
111 #include <lyxrow.h>\r
112 #include <lyxrc.h>\r
113 #include <lyxlex_pimpl.h>\r
114 #include <lyxlex.h>\r
115 #include <lyxlength.h>\r
116 #include <lyxlayout_ptr_fwd.h>\r
117 #include <lyxlayout.h>\r
118 #include <lyxgluelength.h>\r
119 #include <lyxfunc.h>\r
120 #include <lyxfont.h>\r
121 #include <lyxfind.h>\r
122 #include <lyx_sty.h>\r
123 #include <lyx_main.h>\r
124 #include <lyx_cb.h>\r
125 #include <lfuns.h>\r
126 #include <lengthcommon.h>\r
127 #include <layout.h>\r
128 #include <language.h>\r
129 #include <kbsequence.h>\r
130 #include <kbmap.h>\r
131 #include <ispell.h>\r
132 #include <intl.h>\r
133 #include <insetiterator.h>\r
134 #include <importer.h>\r
135 #include <graph.h>\r
136 #include <gettext.h>\r
137 #include <funcrequest.h>\r
138 #include <format.h>\r
139 #include <factory.h>\r
140 #include <exporter.h>\r
141 #include <errorlist.h>\r
142 #include <encoding.h>\r
143 #include <dociterator.h>\r
144 #include <dispatchresult.h>\r
145 #include <dimension.h>\r
146 #include <debug.h>\r
147 #include <cursor_slice.h>\r
148 #include <cursor.h>\r
149 #include <counters.h>\r
150 #include <coordcache.h>\r
151 #include <converter.h>\r
152 #include <chset.h>\r
153 #include <changes.h>\r
154 #include <bufferview_funcs.h>\r
155 #include <bufferparams.h>\r
156 #include <bufferlist.h>\r
157 #include <buffer_funcs.h>\r
158 #include <buffer.h>\r
159 #include <box.h>\r
160 #include <author.h>\r
161 #include <aspell_local.h>\r
162 #include <WordLangTuple.h>\r
163 #include <Variables.h>\r
164 #include <ToolbarBackend.h>\r
165 #include <TocBackend.h>\r
166 #include <Thesaurus.h>\r
167 #include <SpellBase.h>\r
168 #include <Spacing.h>\r
169 #include <Sectioning.h>\r
170 #include <RowList_fwd.h>\r
171 #include <PrinterParams.h>\r
172 #include <ParagraphParameters.h>\r
173 #include <ParagraphList_fwd.h>\r
174 #include <ParagraphList.h>\r
175 #include <MenuBackend.h>\r
176 #include <LyXAction.h>\r
177 #include <LaTeXFeatures.h>\r
178 #include <LaTeX.h>\r
179 #include <LColor.h>\r
180 #include <InsetList.h>\r
181 #include <FuncStatus.h>\r
182 #include <FontIterator.h>\r
183 #include <Floating.h>\r
184 #include <FloatList.h>\r
185 #include <DepTable.h>\r
186 #include <CutAndPaste.h>\r
187 #include <Color.h>\r
188 #include <Chktex.h>\r
189 #include <Bullet.h>\r
190 #include <BufferView.h>\r
191 #include <BranchList.h>\r
192 #include <Bidi.h>\r
193 #endif\r
194 \r
195 #ifndef LYX_DONT_PRECOMPILE_SUPPORT\r
196 #include <support/FileMonitor.h>\r
197 #include <support/RandomAccessList.h>\r
198 #include <support/convert.h>\r
199 #include <support/copied_ptr.h>\r
200 #include <support/cow_ptr.h>\r
201 #include <support/debugstream.h>\r
202 #include <support/docstream.h>\r
203 #include <support/docstring.h>\r
204 #include <support/environment.h>\r
205 #include <support/filefilterlist.h>\r
206 #include <support/filename.h>\r
207 #include <support/filetools.h>\r
208 #include <support/fontutils.h>\r
209 #include <support/forkedcall.h>\r
210 #include <support/forkedcallqueue.h>\r
211 #include <support/forkedcontr.h>\r
212 #include <support/fs_extras.h>\r
213 #include <support/limited_stack.h>\r
214 #include <support/lstrings.h>\r
215 #include <support/lyxalgo.h>\r
216 #include <support/lyxlib.h>\r
217 #include <support/lyxmanip.h>\r
218 #include <support/lyxtime.h>\r
219 #include <support/os.h>\r
220 #include <support/os_win32.h>\r
221 #include <support/package.h>\r
222 #include <support/path.h>\r
223 #include <support/socktools.h>\r
224 #include <support/std_istream.h>\r
225 #include <support/std_ostream.h>\r
226 #include <support/systemcall.h>\r
227 #include <support/textutils.h>\r
228 #include <support/translator.h>\r
229 #include <support/types.h>\r
230 #include <support/unicode.h>\r
231 #include <support/userinfo.h>\r
232 #endif\r
233 \r
234 \r
235 #ifndef LYX_DONT_PRECOMPILE_INSETS\r
236 #include <insets/ExternalSupport.h>\r
237 #include <insets/ExternalTemplate.h>\r
238 #include <insets/ExternalTransforms.h>\r
239 #include <insets/inset.h>\r
240 #include <insets/insetbase.h>\r
241 #include <insets/insetbibitem.h>\r
242 #include <insets/insetbibtex.h>\r
243 #include <insets/insetbox.h>\r
244 #include <insets/insetbranch.h>\r
245 #include <insets/insetcaption.h>\r
246 #include <insets/insetcharstyle.h>\r
247 #include <insets/insetcite.h>\r
248 #include <insets/insetcollapsable.h>\r
249 #include <insets/insetcommand.h>\r
250 #include <insets/insetcommandparams.h>\r
251 #include <insets/insetenv.h>\r
252 #include <insets/insetert.h>\r
253 #include <insets/insetexternal.h>\r
254 #include <insets/insetfloat.h>\r
255 #include <insets/insetfloatlist.h>\r
256 #include <insets/insetfoot.h>\r
257 #include <insets/insetfootlike.h>\r
258 #include <insets/insetgraphics.h>\r
259 #include <insets/insetgraphicsParams.h>\r
260 #include <insets/insethfill.h>\r
261 #include <insets/insetinclude.h>\r
262 #include <insets/insetindex.h>\r
263 #include <insets/insetlabel.h>\r
264 #include <insets/insetlatexaccent.h>\r
265 #include <insets/insetline.h>\r
266 #include <insets/insetmarginal.h>\r
267 #include <insets/insetnewline.h>\r
268 #include <insets/insetnote.h>\r
269 #include <insets/insetoptarg.h>\r
270 #include <insets/insetpagebreak.h>\r
271 #include <insets/insetquotes.h>\r
272 #include <insets/insetref.h>\r
273 #include <insets/insetspace.h>\r
274 #include <insets/insetspecialchar.h>\r
275 #include <insets/insettabular.h>\r
276 #include <insets/insettext.h>\r
277 #include <insets/insettoc.h>\r
278 #include <insets/inseturl.h>\r
279 #include <insets/insetvspace.h>\r
280 #include <insets/insetwrap.h>\r
281 #include <insets/mailinset.h>\r
282 #include <insets/render_base.h>\r
283 #include <insets/render_button.h>\r
284 #include <insets/render_graphic.h>\r
285 #include <insets/render_preview.h>\r
286 #endif\r
287 \r
288 #ifndef LYX_DONT_PRECOMPILE_MATHED\r
289 #include <mathed/InsetFormulaMacro.h>\r
290 #include <mathed/InsetMath.h>\r
291 #include <mathed/InsetMathAMSArray.h>\r
292 #include <mathed/InsetMathArray.h>\r
293 #include <mathed/InsetMathBig.h>\r
294 #include <mathed/InsetMathBinom.h>\r
295 #include <mathed/InsetMathBoldSymbol.h>\r
296 #include <mathed/InsetMathBox.h>\r
297 #include <mathed/InsetMathBoxed.h>\r
298 #include <mathed/InsetMathBrace.h>\r
299 #include <mathed/InsetMathCases.h>\r
300 #include <mathed/InsetMathChar.h>\r
301 #include <mathed/InsetMathColor.h>\r
302 #include <mathed/InsetMathCommand.h>\r
303 #include <mathed/InsetMathComment.h>\r
304 #include <mathed/InsetMathDFrac.h>\r
305 #include <mathed/InsetMathDecoration.h>\r
306 #include <mathed/InsetMathDelim.h>\r
307 #include <mathed/InsetMathDiff.h>\r
308 #include <mathed/InsetMathDim.h>\r
309 #include <mathed/InsetMathDots.h>\r
310 #include <mathed/InsetMathEnv.h>\r
311 #include <mathed/InsetMathExFunc.h>\r
312 #include <mathed/InsetMathExInt.h>\r
313 #include <mathed/InsetMathFBox.h>\r
314 #include <mathed/InsetMathFont.h>\r
315 #include <mathed/InsetMathFontOld.h>\r
316 #include <mathed/InsetMathFrac.h>\r
317 #include <mathed/InsetMathFracBase.h>\r
318 #include <mathed/InsetMathFrameBox.h>\r
319 #include <mathed/InsetMathGrid.h>\r
320 #include <mathed/InsetMathHull.h>\r
321 #include <mathed/InsetMathKern.h>\r
322 #include <mathed/InsetMathLefteqn.h>\r
323 #include <mathed/InsetMathLim.h>\r
324 #include <mathed/InsetMathMBox.h>\r
325 #include <mathed/InsetMathMacro.h>\r
326 #include <mathed/InsetMathMakebox.h>\r
327 #include <mathed/InsetMathMatrix.h>\r
328 #include <mathed/InsetMathNest.h>\r
329 #include <mathed/InsetMathNumber.h>\r
330 #include <mathed/InsetMathOverset.h>\r
331 #include <mathed/InsetMathPar.h>\r
332 #include <mathed/InsetMathPhantom.h>\r
333 #include <mathed/InsetMathRef.h>\r
334 #include <mathed/InsetMathRoot.h>\r
335 #include <mathed/InsetMathScript.h>\r
336 #include <mathed/InsetMathSize.h>\r
337 #include <mathed/InsetMathSpace.h>\r
338 #include <mathed/InsetMathSplit.h>\r
339 #include <mathed/InsetMathSqrt.h>\r
340 #include <mathed/InsetMathStackrel.h>\r
341 #include <mathed/InsetMathString.h>\r
342 #include <mathed/InsetMathSubstack.h>\r
343 #include <mathed/InsetMathSymbol.h>\r
344 #include <mathed/InsetMathTFrac.h>\r
345 #include <mathed/InsetMathTabular.h>\r
346 #include <mathed/InsetMathUnderset.h>\r
347 #include <mathed/InsetMathUnknown.h>\r
348 #include <mathed/InsetMathXArrow.h>\r
349 #include <mathed/InsetMathXYArrow.h>\r
350 #include <mathed/InsetMathXYMatrix.h>\r
351 #include <mathed/MathAtom.h>\r
352 #include <mathed/MathAutoCorrect.h>\r
353 #include <mathed/MathData.h>\r
354 #include <mathed/MathExtern.h>\r
355 #include <mathed/MathFactory.h>\r
356 #include <mathed/MathGridInfo.h>\r
357 #include <mathed/MathMLStream.h>\r
358 #include <mathed/MathMacroArgument.h>\r
359 #include <mathed/MathMacroTable.h>\r
360 #include <mathed/MathMacroTemplate.h>\r
361 #include <mathed/MathParser.h>\r
362 #include <mathed/MathReplace.h>\r
363 #include <mathed/MathStream.h>\r
364 #include <mathed/MathSupport.h>\r
365 #include <mathed/TextPainter.h>\r
366 #endif\r
367 \r
368 \r
369 #ifndef LYX_DONT_PRECOMPILE_FRONTENDS\r
370 #include <frontends/Alert.h>\r
371 #include <frontends/Alert_pimpl.h>\r
372 #include <frontends/Application.h>\r
373 #include <frontends/Clipboard.h>\r
374 #include <frontends/Dialogs.h>\r
375 #include <frontends/FileDialog.h>\r
376 #include <frontends/FontLoader.h>\r
377 #include <frontends/FontMetrics.h>\r
378 #include <frontends/Gui.h>\r
379 #include <frontends/LyXKeySym.h>\r
380 #include <frontends/LyXKeySymFactory.h>\r
381 #include <frontends/LyXView.h>\r
382 #include <frontends/Menubar.h>\r
383 #include <frontends/NoGuiFontLoader.h>\r
384 #include <frontends/NoGuiFontMetrics.h>\r
385 #include <frontends/Painter.h>\r
386 #include <frontends/Selection.h>\r
387 #include <frontends/Timeout.h>\r
388 #include <frontends/Toolbars.h>\r
389 #include <frontends/WorkArea.h>\r
390 #include <frontends/guiapi.h>\r
391 #include <frontends/key_state.h>\r
392 #include <frontends/mouse_state.h>\r
393 #include <frontends/nullpainter.h>\r
394 #endif\r
395 \r
396 #ifndef LYX_DONT_PRECOMPILE_CONTROLLERS\r
397 #include <frontends/controllers/BCView.h>\r
398 #include <frontends/controllers/ButtonController.h>\r
399 #include <frontends/controllers/ButtonPolicies.h>\r
400 #include <frontends/controllers/ControlAboutlyx.h>\r
401 #include <frontends/controllers/ControlBibtex.h>\r
402 #include <frontends/controllers/ControlBox.h>\r
403 #include <frontends/controllers/ControlBranch.h>\r
404 #include <frontends/controllers/ControlChanges.h>\r
405 //#include <frontends/controllers/ControlCharacter.h>\r
406 #include <frontends/controllers/ControlCitation.h>\r
407 #include <frontends/controllers/ControlCommand.h>\r
408 #include <frontends/controllers/ControlCommandBuffer.h>\r
409 #include <frontends/controllers/ControlDocument.h>\r
410 #include <frontends/controllers/ControlERT.h>\r
411 #include <frontends/controllers/ControlErrorList.h>\r
412 #include <frontends/controllers/ControlExternal.h>\r
413 #include <frontends/controllers/ControlFloat.h>\r
414 #include <frontends/controllers/ControlGraphics.h>\r
415 #include <frontends/controllers/ControlInclude.h>\r
416 #include <frontends/controllers/ControlLog.h>\r
417 #include <frontends/controllers/ControlMath.h>\r
418 #include <frontends/controllers/ControlNote.h>\r
419 #include <frontends/controllers/ControlParagraph.h>\r
420 #include <frontends/controllers/ControlPrefs.h>\r
421 #include <frontends/controllers/ControlPrint.h>\r
422 #include <frontends/controllers/ControlRef.h>\r
423 #include <frontends/controllers/ControlSearch.h>\r
424 #include <frontends/controllers/ControlSendto.h>\r
425 #include <frontends/controllers/ControlShowFile.h>\r
426 #include <frontends/controllers/ControlSpellchecker.h>\r
427 #include <frontends/controllers/ControlTabular.h>\r
428 #include <frontends/controllers/ControlTabularCreate.h>\r
429 #include <frontends/controllers/ControlTexinfo.h>\r
430 #include <frontends/controllers/ControlThesaurus.h>\r
431 #include <frontends/controllers/ControlToc.h>\r
432 #include <frontends/controllers/ControlVSpace.h>\r
433 #include <frontends/controllers/ControlViewSource.h>\r
434 #include <frontends/controllers/ControlWrap.h>\r
435 #include <frontends/controllers/Dialog.h>\r
436 #include <frontends/controllers/Kernel.h>\r
437 #include <frontends/controllers/biblio.h>\r
438 //#include <frontends/controllers/character.h>\r
439 #include <frontends/controllers/frnt_lang.h>\r
440 #include <frontends/controllers/helper_funcs.h>\r
441 #include <frontends/controllers/pch.h>\r
442 #include <frontends/controllers/tex_helpers.h>\r
443 #endif\r
444 \r