Commit Graph

34 Commits

Author SHA1 Message Date
Keith Smiley
82048bd0c4 [docs] Disable warnings as errors (#62408)
Currently the rst files have a bunch of warnings that cause build
failures if you have sphinx installed. It sounds like these files are
all on the path to being converted to markdown, so this loosens that
restriction to not block folks from building.
2022-12-05 21:45:58 -08:00
Alex Langford
61be4d969f [CMake][NFC] Introduce component targets for proper dependency tracking
This commit introduces a CMake target for each component, adds install targets
for them, and switches build-script-impl to use the target `install-components`
for installation. Each of the targets for each component depends on each
of the individual targets and outputs that are associated with the
corresponding swift-component.

This is equivalent to what already exists, because right now install rules are
only generated for components that we want to install. Therefore, this commit
should be an NFC.

This is a resubmission (with modifications) of an earlier change. I originally
committed this but there were problems with some installation rules.
2019-08-22 10:16:50 -07:00
Ben Langmuir
327c666b8a Revert "[CMake][NFC] Introduce component targets for proper dependency tracking" 2019-08-08 16:35:59 -07:00
Alex Langford
50a0e87c69 [CMake][NFC] Introduce component targets for proper dependency tracking
This commit introduces a CMake target for each component, adds install targets
for them, and switches build-script-impl to use the target `install-components`
for installation. Each of the targets for each component depends on each
of the individual targets and outputs that are associated with the
corresponding swift-component.

This is equivalent to what already exists, because right now install rules are
only generated for components that we want to install. Therefore, this commit
should be an NFC.
2019-08-08 11:50:35 -07:00
Alex Langford
3d9a28925b [CMake] Modify swift_install_in_component to support cmake install components
CMake supports the notion of installation components. Right now we have some
custom code for supporting swift components. I think that for installation
purposes, it would be nice to use the CMake component system.

This should be a non-functional change. We should still only be generating
install rules for targets and files in components we want to install, and we
still use the install ninja target to install everything.
2019-04-19 14:06:11 -07:00
Gwynne Raskind
687585eafa Docs: Remove all references to long-unused LitRe tool. Also incidentally removes redundant/duplicate check for sphinx-build binary. 2019-01-13 21:15:56 -06:00
Robert Widmann
9f0b2c7da4 Update latex_paper_size to latex_elements.papersize 2017-05-30 13:19:31 -07:00
practicalswift
cc852042c9 [gardening] Fix accidental trailing whitespace. 2016-10-29 10:22:58 +02:00
practicalswift
71e00fefa1 [gardening] Fix typos: "word word" (two spaces) → "word word" (one space) 2016-01-24 21:27:16 +01:00
Jordan Rose
e3e618399e [CMake] Drop the contents of the "lang-docs" install package.
I didn't remove the package itself because I'm not sure what that would do,
but none of the content we were publishing is worth shipping at this point.
(And not all of it is public.)
2015-11-05 20:29:12 -08:00
Xi Ge
5c99ce0498 [cmake] Correct some paths. 2015-11-05 18:38:58 -08:00
Dmitri Hrybenko
6670bb76ec Rewrite the CMake build system
Swift SVN r24124
2014-12-23 22:15:30 +00:00
Dave Abrahams
b1ac7ba7a4 [docs] Fix all ReST/Sphinx warnings, turn sphinx warnings into errors
Also revert r10607, which this change obsoletes

Swift SVN r10611
2013-11-20 23:27:13 +00:00
Dave Abrahams
3c10621de2 [docs] Suppress "not included in any toctree" warning in CMake build
We have lots of documents that are intentionally not in any toctree;
we were just getting a massive pile of useless warnings about them.
Had there been a valid warning in there we'd have missed it anyhow.

Swift SVN r10607
2013-11-20 22:01:54 +00:00
Argyrios Kyrtzidis
57c8040203 Introduce a skeletal man page for swift, to satisfy buildit verification.
Feel free to expand it at will.

Swift SVN r9446
2013-10-17 15:24:43 +00:00
Michael Gottesman
d247bf36a3 A few updates to the external doxygen search capability to reflect certain changes I made on trunk and a few mistakes I made as well.
Swift SVN r7693
2013-08-28 22:02:48 +00:00
Michael Gottesman
1c3961e5e6 Fixed typo.
Swift SVN r7685
2013-08-28 20:44:01 +00:00
Michael Gottesman
64e0672bc0 Add support for generating doxygen compatible external search indices for swift.
Swift SVN r7684
2013-08-28 20:41:30 +00:00
Michael Gottesman
74abe70c30 Use new aggregate doxygen target for building swift doxygen.
Swift SVN r7683
2013-08-28 20:41:27 +00:00
Michael Gottesman
1696b0fedf Added code for building swift doxygen documentation.
The doxygen.cfg.in file is based on the clang doxygen.cfg.in file with suitable
name changes.

Swift SVN r7556
2013-08-24 09:02:45 +00:00
Dave Abrahams
05eeba93f4 Turn on ReST error checking in CMake documentation builds
(it was already on in Makefile builds)

Also, fix the ReST errors it found.

Also, monkeypatch pygments so it can see our lexers when we build
documentation.  This keeps all doc builds from producing heaps of
warnings.

Swift SVN r6023
2013-07-05 22:33:50 +00:00
Dave Abrahams
4a3426c808 docs/CMakeLists.txt: Add missing dependency
Swift SVN r4646
2013-04-09 22:33:14 +00:00
Dave Abrahams
1a5408f870 Make it possible to build docs standalone
Swift SVN r4645
2013-04-09 22:33:14 +00:00
Dave Abrahams
0dcb4d72ea Stop running LiterateTests as part of ALL
This would prevent anyone who had litre installed from building

Swift SVN r4549
2013-03-29 23:47:03 +00:00
Dave Abrahams
bc68a7a13a Add missing dependency on CMake binary
Swift SVN r4548
2013-03-29 23:47:02 +00:00
Dave Abrahams
bb39a65ac4 Fix build system for LitRe tests
It didn't create the appropriate dependencies on the .rst files.  This
is a more-principled approach that actually invokes CMake from within
itself.

Note: expect it to fail if you use the Makefile generator until I
rename the .rst files

Swift SVN r4545
2013-03-29 22:58:37 +00:00
Dave Abrahams
01cd7edd16 Don't add a literate testing subdirectory for documents on which LitRe fails
Swift SVN r4510
2013-03-28 13:45:13 +00:00
Dave Abrahams
50835b813b Use LitRe's new default_compiler option
Swift SVN r4509
2013-03-28 13:45:12 +00:00
Dave Abrahams
30d9e8821f *.rst: Use litre.TestsAreMissing exceptions
to avoid long processing times and reams of error messages for as-yet-untested files

Swift SVN r4508
2013-03-28 13:45:11 +00:00
Dave Abrahams
257ee68810 Specify litre config file
Swift SVN r4506
2013-03-28 13:45:08 +00:00
Dave Abrahams
96cc492854 docs/CMakeLists.txt: documentation
Swift SVN r4505
2013-03-28 13:45:07 +00:00
Dave Abrahams
0abc1da148 Initial integration of LitRe testing into the documentation build process
Swift SVN r4504
2013-03-28 13:45:06 +00:00
Joe Groff
7c2371d9a3 CMake: Don't spew Sphinx warnings.
Swift SVN r4263
2013-03-02 17:17:38 +00:00
Joe Groff
a2cb749bad CMake: Add docs; install LangRef, whitepaper.
Integrate Sphinx generation with the CMake build, and add LangRef and the HTML whitepaper to the installation.

Swift SVN r4258
2013-03-01 22:57:37 +00:00