Commit graph

14 commits

Author SHA1 Message Date
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
David Seifert
533c0b8005 Use GNUInstallDirs to specify directories
* GNUInstallDirs is the only Kitware-supported
  way to change the default directories. Most
  distributions have hooks for changing these
  directories, which makes integrating wesnoth
  easier and more consistent with the rest of
  the CMake ecosystem.
* Make build system perfectly out-of-source
  compatible. The build system should never
  touch files in the source tree.
2017-11-17 13:41:32 -06:00
Boris Nagaev
6e08864345 respect CMAKE_MODULE_PATH provided by user
Cross-compiling to Windows with MXE [1] requires providing custom
CMAKE_MODULE_PATH variable for CMake:

$ cmake -DCMAKE_MODULE_PATH=/file/provided/by/mxe.cmake

As Wesnoth's CMakeLists.txt resets CMAKE_MODULE_PATH, the effect of
CMAKE_MODULE_PATH provided by MXE is disabled and the build fails
with linking errors [2].

This commit changes CMakeLists.txt to respect the value of
user provided CMAKE_MODULE_PATH, so both MXE and Wesnoth
customizations of CMake variables are applied.

[1] http://mxe.cc/
[2] https://gist.github.com/starius/abfb9033d92f21ef521d
2015-11-08 14:56:28 +03:00
Ignacio R. Morelle
b270658f50 cmake: Quick-and-dirty fix for the DocBook XSL path on Debian
Without this, rebuilding the game manuals fails because
/usr/share/asciidoc/docbook-xsl/xhtml.xsl doesn't exist. We need to use
/etc/asciidoc/docbook-xsl/xhtml.xsl instead here.
2015-01-16 00:25:39 -03:00
Eric S. Raymond
7f85fa000c The git transition.
Most references to and dependencies on Subversion have been removed.
"+svn" is now "+dev". Files that can't be fixed yet have a FIXME-GIT
comment in them; most of these are in the website tests.
2013-03-26 10:44:47 -04:00
Nils Kneuper
fa4ffa3615 at least for gentoo the default location of docbook-xsl/xhtml.xsl...
...was changed to /usr/share/asciidoc/docbook-xsl/xhtml.xsl instead of
/etc/asciidoc/docbook-xsl/xhtml.xsl

reflect this in our build systems
2011-11-16 11:00:50 +00:00
Mark de Wever
2b9ddcea2c Formatting cleanup of cmake files. 2011-01-16 10:31:25 +00:00
Mark de Wever
c047ad52b4 Some minor update-po4a-manual polishing. 2011-01-16 10:31:15 +00:00
Mark de Wever
1000f2533c Reimplement the update-po4a-manual.
This version can be build in parallel. Also remove the original po4a
update code.
2011-01-08 11:44:35 +00:00
Mark de Wever
afd1a0bfbe Add cmake update-po4a-man(ual) targets.
Still needs more polishing and optimization, but with autotools
support removed want to get something working in first.
2011-01-02 11:05:43 +00:00
Nils Kneuper
be2872faf1 do not copy .svn folders for the manual at install times 2008-07-23 16:14:32 +00:00
Moritz Göbelbecker
e7d41dfd80 Add fribidi support to cmake.
Add option to disable nls.
2008-05-14 12:15:17 +00:00
Moritz Göbelbecker
12d1d7247d Add cmake support for manual generation/translation/installation
Add cmake support for manpage installation

Workaround for a bug in cmake 2.4.7
2008-05-12 23:00:16 +00:00