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