Hi!

Very good work, I've been looking at the commits as they've come in and I
think it looks very promising.

Den sön 14 juli 2024 kl 21:48 skrev Timofei Zhakov <t...@chemodax.net>:

> Hello,
>
> I would like to share the status update about CMake.
>
> Firstly, I committed the patch into a branch. I also made the code
> much cleaner, more extensible, and added some additional features.
>
> Also, I added the CMakeLists.txt (CMake configuration) file into the
> repository, but generated the list of the targets into a different
> file. It significantly improves the user experience, because now, when
> the user tries to configure the project, they would get an error that
> follows to run gen-make before (for the file with targets).
>
> Here is an example of the build with the newer behavior:
>
> [[[
> $ svn co https://...
> $ cmake -B out
>
> Error: dependencies not found
>
>   *installed the dependencies*
> $ cmake -B out -DCMAKE_INSTALL_PREFIX=...
>
> Error: run `python gen-make.py -t cmake’
>
> $ python gen-make.py -t cmake
> $ cmake -B out
> $ cmake –build out
> Build succeeded.
> ]]]
>

I really like this behaviour, it makes it intuitive for a user who doesn't
read INSTALL :-)


>
> The important tasks still to be completed are:
>
> 1. Swig and JavaHL bindings.
> 2. Documentation to INSTALL and maybe add a page to the website.
>

I'd like to add:

3. Building on Macos, Linux and Free/Open/NetBSD (I'm not sure if we have
any chance in also supporting Solaris and HP-UX).
4. Running the testsuites (at least C and Python tests).


>
> Any help on these items will be much appreciated.
>
> Finally, I am thinking about merging the branch into 'trunk' and
> continuing development and testing there. What do you think?
>

I think it would be good to stay on the branch a little while more until we
have come a bit closer on the points above.

I made a quick draft in r1919293 updating the INSTALL file. I took some
liberties in asserting that this will be released as 1.15 and default in
1.16 - we have not decided this but this is my suggestion.

As for the website, the source-code.html[1] page refers to INSTALL but it
also "you should find the 'svn' binary in the subversion/svn/ subdirectory"
which should be updated to also describe the CMake build system. Maybe the
build system should also be described in the community guide like the
existing build system[2].

Kind regards,
Daniel

[1] https://subversion.apache.org/source-code.html
[2]
https://subversion.apache.org/docs/community-guide/building.html#configury

Reply via email to