Commit graph

170 commits

Author SHA1 Message Date
Dustin J. Mitchell
dbeee0640a Add a hint to 'make test' see test problems 2022-12-18 12:01:12 -05:00
Dustin J. Mitchell
8c30400af3 Add a C++ wrapper around TC FFI
This uses CMake to build a simple Rust library (in `src/tc/rust`) that
just re-exports everything from the `taskchampion-lib` crate.

The C++ wrappers then wrap this into C++ objects with proper lifecycle
maintenance, in the `tc` namespace.

The C++ wrappers are incomplete, and missing methods are tagged with
"TODO".  These will be added as needed.
2022-07-29 21:41:41 -04:00
Tomas Babej
93394e7054 meta: Update CMake version reference for 2.6.2 2022-03-16 01:52:16 -04:00
Tomas Babej
a696b6b155
cmake: Bump project version to 2.6.1 2021-10-19 00:23:40 -04:00
Tomas Babej
0ad1b681de
CMakeLists: Use presence of src, not .git dir to determine libshared presence
This way the mechanism to determine the presence of libshared works for
tarball builds as well.
2021-10-02 17:57:38 -04:00
Tomas Babej
35794a57b5
CMakeLists: Ensure cmake.h.in is not excluded in the source build 2021-10-02 17:45:28 -04:00
Tomas Babej
7d5c82e3e7 meta: Expand review build target to allow specifying PR reference for libshared
This allows us to conveniently review PRs for libshared using

    make LIBPR=62 review

and taskwarrior PRs that require libshared PRs as well using

    make PR=2189 LIBPR=63 review
2021-09-04 12:13:25 -04:00
begasus
cd06d937a5 Search for libnetwork on Haiku 2021-05-25 18:26:04 -04:00
Tomas Babej
d9c4621e33
cmake: Limit containers to 1GB of memory
This helps debugging issues when task ends up OOMKilled, without having
to exhaust memory of the host machine.
2021-01-16 18:49:12 -05:00
Tomas Babej
71f477e013
cmake: Make builds of make review/reproduce quiet
Reduce noise on the output. The build process still outputs the build
log in case it fails.
2021-01-16 12:43:23 -05:00
Tomas Babej
c72e1ea379
cmake: Do not send local context when for make review/reproduce
The Dockerfiles for make review and make reproduce targets do not use
any information from the local taskwarrior git repository. Use
STDIN-based syntax to ensure local context is not sent to the daemon.

See: https://docs.docker.com/engine/reference/commandline/build/#build-with--
2021-01-16 12:40:56 -05:00
Tomas Babej
94a06ed38a
cmake: Add a custom target for reproducing issue reports
Use by issuing command "make RELEASE=v2.5.2 reproduce" where v2.5.2 can
be substituted by other (tagged) release.
2021-01-16 12:29:35 -05:00
Tomas Babej
3b978ce265
cmake: Update list of ignored source files
Update after removal of the Travis CI.
2020-12-28 19:35:50 -05:00
Tomas Babej
b64e754000
cmake: Bring back commit.h.in and cmake.h.in 2020-12-10 22:14:04 -05:00
Tomas Babej
8013654577
cmake: Add additional ignored files for make_package
Closes #2369.

- Thanks to Heiko Becker.
2020-12-10 21:52:56 -05:00
Tomas Babej
a186d9f73f
CMake: Also ignore .travis for the tarball build 2020-12-05 18:24:31 -05:00
Tomas Babej
7402f00981
CMake: Exclude .github directory 2020-12-05 18:24:30 -05:00
Tomas Babej
ab12e3fafd
CMake: Add custom review target
Use with Github PR ids as follows:
make PR=2358 review
2020-12-04 00:20:30 -05:00
Paul Beckingham
4a929197ae Build: C++14 support added 2018-02-16 22:04:29 -05:00
Paul Beckingham
eca40844ad Docs: Updated URLs 2018-02-08 22:08:59 -05:00
Mark Scannell
7af6db4c17 Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
6374246d02 I18N: Removed language build settings 2018-01-21 23:36:00 -05:00
Paul Beckingham
58ec6735dd TI-91: Timewarrior does not compile on DragonFly
- Thanks to Michael Neumann.
2017-12-10 00:20:50 -05:00
Federico Hernandez
de4cf7edda Handling of git submodule in cmake 2017-02-12 22:18:26 +01:00
Antonio Huete Jimenez
7c0375e506 task: Fix build in SunOS-like environments.
Tested in:
 - OpenIndiana 2816291
 - OmniOS bed3013
 - SmartOS 20161129T003638Z
2017-01-15 20:02:31 -05:00
Paul Beckingham
7232d79e67 cmake: Use the CXXSniffer 2016-04-09 16:18:07 -04:00
Federico Hernandez
ef5551f3ec Bumped version number to 2.6.0 2016-02-24 23:49:51 +01:00
Federico Hernandez
8b4ae3b54b Version number and release date for 2.5.1 2016-02-24 23:17:29 +01:00
Federico Hernandez
2ca3fd5f3c Taskwarrior 2.5.1 Beta 1 2016-02-05 23:18:02 +01:00
Kent R. Spillner
8337f78efe CMakeLists.txt: find uuid functions on OpenBSD
OpenBSD also includes uuid functions directly in its libc, same as
FreeBSD.

Signed-off-by: Kent R. Spillner <kspillner@acm.org>
2016-01-20 08:00:24 -05:00
Misty De Meo
33988c2c90 CMakeLists: don't hardcode libc++ on Darwin
Some Darwin users (for example, users on pre-OS X 10.7 systems) use
FSF GCC releases instead of Clang; hardcoding the -stdlib=libc++ flag
causes the build to fail for them. Instead, pass this whenever Clang
is used.
2015-12-31 17:22:05 -05:00
Paul Beckingham
c7b792bf47 Build:
- License was not installed.
2015-12-16 14:56:28 -05:00
Federico Hernandez
28648770c0 Bumped version number to 2.5.1 2015-10-21 22:52:52 +02:00
Federico Hernandez
dd5968a61b Version number and release date for 2.5.0 2015-10-21 22:25:06 +02:00
Federico Hernandez
2272ba71a2 Bumped version number to beta3 2015-10-17 23:22:50 +02:00
Federico Hernandez
9ef8c1aeba Bumped version to 2.5.0.beta2 2015-09-16 22:57:00 +02:00
Paul Beckingham
aa3a014a66 CPack: Need four backslashes, the greedy bastard. 2015-09-07 18:02:23 -04:00
Paul Beckingham
047198bf6e CMake: Fixed regex that excludes files for tarball 2015-09-07 17:43:26 -04:00
Federico Hernandez
06c6b94fd4 Renamed 2.4.5 to 2.5.0 2015-09-07 22:54:17 +02:00
Paul Beckingham
ff53919af1 TW-1543: cmake complains "test" is not a valid target (on arch linux)
- Thanks to Renato Alves.
2015-07-19 17:29:23 -04:00
Wilhelm Schuermann
de8eb2814b CMake: Require libgnutls by default.
- Make cmake complain and abort the build process if libgnutls is not
  available.  In order to build Taskwarrior without "sync" support,
  or to build it on a system with libgnutls missing, the new cmake
  flag "-DENABLE_SYNC=OFF" can be used.
2015-06-22 21:20:29 +02:00
Paul Beckingham
e04eb4256b CMake: Ignore 'lex' binary. 2015-05-26 00:32:36 -04:00
Federico Hernandez
1800ab0e1b Bumped version number to 2.4.5 2015-05-10 23:11:26 +02:00
Paul Beckingham
71753ef666 TW-1605: Japanese translation for Taskwarrior
- Initial Japanese translation (thanks to Oota Toshiya).
2015-04-28 20:11:11 -04:00
Federico Hernandez
6cf3345595 Bumped version number to 2.4.4 2015-04-20 00:07:53 +02:00
Wilhelm Schuermann
b8105812fc CMake: Enable compiler warnings 2015-03-29 22:04:48 +02:00
Federico Hernandez
8386b702dd Bumped version number to 2.4.3 2015-03-16 00:25:55 +01:00
Wilhelm Schuermann
3484e44c7d CMake
- Added workaround for Cygwin build errors.
2015-02-22 13:53:53 -05:00
Wilhelm Schuermann
be855af8c4 CMake
- Custom compile flags and flags for c++11 ignored even less on OSX now...
2015-02-19 19:17:14 -08:00
Paul Beckingham
88d65b23c1 CMake Feedback Messages
- Reworded the '-std=c++11' feedback messages to user fewer '!' characters,
  and be more emphatic about upgrading the compiler.
2015-02-18 21:15:58 -08:00