Commit Graph

27 Commits

Author SHA1 Message Date
Martchus e99c3f4ef7 Update libsyncthing to v1.3.3 2020-01-07 14:44:10 +01:00
Martchus f94db6703b Update libsyncthing to v1.3.2 2019-12-03 13:34:31 +01:00
Martchus 4b5a8efa3e Apply cmake-format v0.6.0 2019-11-30 18:24:19 +01:00
Martchus e5286cb218 Update libsyncthing to v1.3.1 2019-11-07 18:55:37 +01:00
Martchus d50e78be29 Update libsyncthing to v1.3.0 2019-10-01 13:55:40 +02:00
Martchus 3b607f467a Update libsyncthing to Syncthing v1.2.2 2019-09-08 18:08:13 +02:00
Martchus bd345dfe12 Apply cmake-format 2019-08-08 21:34:24 +02:00
Martchus 584afb52d9 Update libsyncthing 2019-08-07 18:42:41 +02:00
Martchus 971e2dca6a Fix including BasicConfig in libsyncthing 2019-08-06 10:57:42 +02:00
Martchus be0be08997 Apply cmake-format 2019-08-06 00:13:15 +02:00
Martchus e2037aebc1 Fix further configuration issues with libsyncthing
* Can not use BUNDLED_TARGETS because syncthinginternal is only an
  imported target
* Use INSTALL_INTERFACE generator expression to specify path of
  libsyncthinginternal.a for installation (imported target can not
  be exported apparently)
2019-08-06 00:12:58 +02:00
Martchus 495140cdf9 Use imported target for libsyncthinginternal
This way the pkg-config file can be generated correctly.
2019-08-05 19:10:57 +02:00
Martchus 0a2eae6542 Improve libsyncthing
* Update Syncthing version
* Use utilities from https://github.com/syncthing/syncthing/pull/5871
* Remove useless use_standard_filesystem()
2019-08-03 16:31:23 +02:00
Martchus 13cc4b8775 Set Go linker flags for libsyncthing 2019-07-29 18:00:42 +02:00
Martchus 038225936e Base libsyncthing on official library refactoring 2019-07-17 17:53:36 +02:00
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