On 27. 6. 25 13:58, dsahlb...@apache.org wrote:
Author: dsahlberg
Date: Fri Jun 27 11:58:00 2025
New Revision: 1926750
URL:http://svn.apache.org/viewvc?rev=1926750&view=rev
Log:
Start describing the CMake build system in README:
Re-number existing chapters about SCons
Add a new subchapter about CMake
Modified:
serf/trunk/README
[...]
-1.1. SCons build system
+1.1 Build systems
-Apache Serf uses SCons 2.3 for its build system. If it is not installed
+Apache Serf can use either SCons or CMake. Both build systems should offer
+the same features.
+
+1.1.1 SCons build system
+
+You must use at least SCons version 2.3. If it is not installed
I noticed that SCons 2.3.0 does not understand the -isystem flag that's
supported by gcc and clang. These days it's likely that we'll find
-isystem in some pkg-info file (in fact, that's what tickled me me to
TIL), so really, scons-2.3.5 should be the minimum.
That said: those versions require Python2 and won't work with Python 3.
on your system, then you can install it onto your system. If you do not
have permissions, then you can download and install the "local"
version into your home directory. When installed privately, simply
@@ -28,7 +33,7 @@ Fetch the scons-local package:
http://prdownloads.sourceforge.net/scons/scons-local-2.3.0.tar.gz
Another option is to just create a Python virtual environment and then
'pip install scons', that requires no privileges and will install a
SCons package that's appropriate to the installed version of Python.
-- Brane