aboutsummaryrefslogtreecommitdiffhomepage
path: root/INSTALL
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-08-23 04:13:15 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-08-23 04:51:55 +0200
commitee9cf43587d5fef3a0f6d97ef50b8cf848945bcb (patch)
tree4e4bb285120f56c65292dfc9ae33d126bf06ad8e /INSTALL
parente2c7c11066739cf1141f1d47dc3789a5e82eb9cd (diff)
downloadsciteco-ee9cf43587d5fef3a0f6d97ef50b8cf848945bcb.tar.gz
fully support out of tree builds
* You no longer have to copy contrib/scintilla, contrib/scinterm and contrib/lexilla manually to the build directory. * It turns out, that Scintilla/Lexilla was supporting this since 2016. Scintilla allows pointing to a source directory (srdir) and Lexilla to a binary directory (DIR_O). * For Scinterm I opened a pull request in order to add srcdir/basedir variables: https://github.com/orbitalquark/scinterm/pull/21 * `make distcheck` is therefore now also fixed. * The FreeBSD package is now allowed to build out of source. I haven't tested it yet. * See also https://github.com/ScintillaOrg/lexilla/issues/266
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL29
1 files changed, 2 insertions, 27 deletions
diff --git a/INSTALL b/INSTALL
index 8c1c50d..d371333 100644
--- a/INSTALL
+++ b/INSTALL
@@ -3,7 +3,7 @@ Installation Instructions
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-Copyright (C) 2013-2023 Robin Haberkorn
+Copyright (C) 2013-2024 Robin Haberkorn
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -47,7 +47,7 @@ installed by the user manually:
* Scintilla (v5.3.0 or later):
http://www.scintilla.org/
* When choosing the Curses interface:
- * Scinterm (v4.0 or later):
+ * Scinterm (v5.2 or later):
http://foicica.com/scinterm/
* Lexilla (v5.0.0 or later, optional):
https://www.scintilla.org/Lexilla.html
@@ -137,31 +137,6 @@ Windows releases need special configuration options.
Building these packages is automated by the `./distribute` script
(a standalone Makefile script).
-Out of Tree Builds
-==================
-
-Like any Autoconf/Automake-based project, SciTECO can generally
-be built out-of-tree (in a different directory than its sources).
-This is often useful, especially when cross-compiling.
-Unfortunately, the Scintilla (and related libraries') build-system
-does not support out-of-tree builds, so even though Scintilla has been tied
-into SciTECO's build system for convenience, out-of-tree builds
-cannot be performed directly as Scintilla would still be built
-in SciTECO's source directory by default.
-
-However, you may copy Scintilla, Scinterm and Lexilla into
-SciTECO's build directory.
-An out-of-tree build of SciTECO can thus be achieved using the
-following steps (supposing that the build directory will be
-a subdirectory of the Git repository called `build-dir`):
-
- $ mkdir -p build-dir/contrib
- $ cp -r contrib/{scintilla,scinterm,lexilla} build-dir/contrib/
- $ cd build-dir
- $ ../configure
- $ make
- ...
-
For more details on building Autoconf-based projects refer to the
remainder of this document which covers installing Autoconf-based
projects in general.