Commit Graph

12 Commits

Author SHA1 Message Date
Martchus 4cabaf0c4b Use Go modules for building libsyncthing
Requires Go 1.11 or later
2019-07-07 12:11:16 +02:00
Martchus 56e1e98493 Apply cmake-format 2019-06-16 16:58:52 +02:00
Martchus 7dbe419d0a Fix including c++utilities header in libsyncthing
if c++utilities is built as part of the same project
2019-06-12 20:59:58 +02:00
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus a30853cfeb Apply cmake-format and clang-format 2019-05-04 22:10:37 +02:00
Martchus d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02:00
Martchus 2370fe1ef5 Let CMake generate code for test application 2019-01-13 22:16:23 +01:00
Martchus 6c1c95c4c5 Improve libsyncthing
* Add documentaton
* Add isSyncthingRunning()
2018-04-15 20:19:14 +02:00
Martchus aedf7fe1fd Improve libsyncthing interface
* Allow to stop
* Provide callback for logging
* Add basic tests
2018-04-14 23:07:35 +02:00
Martchus e2d3bdfa0d Ensure index for libsyncthinginternal.a is created 2018-04-10 23:00:05 +02:00
Martchus 4e112547e1 Handle cross-compilation when building libsyncthing 2018-04-10 22:55:17 +02:00
Martchus 6ab7662a64 Add experimental 'libsyncthing'
* This allows running C++ GUI code (as provided by this
  repository) and Syncthing itself in the same process.
* It basically seems to work. I can now run a Syncthing
  instance within the interactive C++ shell 'cling' :-)
* Syncthing and its assets are built within the usual
  CMake build process but disabled by default because still
  experimental. To enable the build, add '-DNO_LIBSYNCTHING=OFF'
  to CMake arguments.
* The Syncthing checkout with customized exports lives
  in the Git submodule under
  'libsyncthing/go/src/github.com/syncthing/syncthing'.
2018-04-08 21:36:08 +02:00