mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CMake
- zapped autoh*ll from build system. No more pain.
This commit is contained in:
parent
dbdba4c59e
commit
4de854a3c3
28 changed files with 28 additions and 1758 deletions
|
@ -27,7 +27,7 @@
|
|||
#ifndef INCLUDED_API
|
||||
#define INCLUDED_API
|
||||
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
#ifdef HAVE_LIBLUA
|
||||
|
||||
#include <vector>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "Config.h"
|
||||
#include "text.h"
|
||||
#include "util.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// This string is used in two ways:
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "util.h"
|
||||
#include "main.h"
|
||||
#include "i18n.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Context::Context ()
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
#include "Directory.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Directory::Directory ()
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <vector>
|
||||
#include <string>
|
||||
#include "API.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
// Hook class representing a single hook, which is just a three-way map.
|
||||
class Hook
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
bin_PROGRAMS = task
|
||||
task_SHORTNAME = t
|
||||
task_SOURCES = API.cpp API.h Att.cpp Att.h Cmd.cpp Cmd.h Color.cpp Color.h \
|
||||
Config.cpp Config.h Context.cpp Context.h Date.cpp Date.h \
|
||||
Directory.cpp Directory.h Duration.cpp Duration.h File.cpp \
|
||||
File.h Filter.cpp Filter.h Grid.cpp Grid.h Hooks.cpp Hooks.h \
|
||||
Keymap.cpp Keymap.h Lisp.cpp Lisp.h Location.cpp Location.h \
|
||||
Nibbler.cpp Nibbler.h Path.cpp Path.h Permission.cpp \
|
||||
Permission.h Record.cpp Record.h Rectangle.cpp Rectangle.h \
|
||||
Sensor.cpp Sensor.h Sequence.cpp Sequence.h StringTable.cpp \
|
||||
StringTable.h Subst.cpp Subst.h TDB.cpp TDB.h Table.cpp Table.h \
|
||||
Task.cpp Task.h Taskmod.cpp Taskmod.h Thread.cpp Thread.h \
|
||||
Timer.cpp Timer.h Transport.cpp Transport.h TransportSSH.cpp \
|
||||
TransportSSH.h TransportRSYNC.cpp TransportRSYNC.h \
|
||||
TransportCurl.cpp TransportCurl.h Tree.cpp Tree.h burndown.cpp \
|
||||
command.cpp custom.cpp dependency.cpp diag.cpp edit.cpp \
|
||||
export.cpp history.cpp i18n.h import.cpp interactive.cpp \
|
||||
main.cpp main.h recur.cpp report.cpp rules.cpp rx.cpp rx.h \
|
||||
text.cpp text.h util.cpp util.h Uri.cpp Uri.h JSON.cpp JSON.h utf8.cpp utf8.h
|
||||
task_CPPFLAGS=$(LUA_CFLAGS)
|
||||
task_LDFLAGS=$(LUA_LFLAGS)
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
#include <pwd.h>
|
||||
#include <unistd.h>
|
||||
#include "Path.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Path::Path ()
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#ifndef INCLUDED_THREAD
|
||||
#define INCLUDED_THREAD
|
||||
|
||||
#include <../auto.h>
|
||||
#include <../cmake.h>
|
||||
|
||||
#ifdef HAVE_LIBPTHREAD
|
||||
#include <pthread.h>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "util.h"
|
||||
#include "main.h"
|
||||
#include "Transport.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
#ifdef HAVE_COMMIT
|
||||
#include "../commit.h"
|
||||
#endif
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include <File.h>
|
||||
#include <main.h>
|
||||
#include <util.h>
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
#ifdef HAVE_COMMIT
|
||||
#include "../commit.h"
|
||||
#endif
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "text.h"
|
||||
#include "util.h"
|
||||
#include "main.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
//#include "util.h"
|
||||
#include "main.h"
|
||||
#include "i18n.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int Context::interactive ()
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#endif
|
||||
|
||||
#include "Context.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
Context context;
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "Table.h"
|
||||
#include "Date.h"
|
||||
#include "Color.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
// recur.cpp
|
||||
void handleRecurrence ();
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
// text.cpp, Non-UTF-8 aware.
|
||||
void wrapText (std::vector <std::string>&, const std::string&, const int);
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
libtaskui_SHORTNAME = ui
|
||||
noinst_LIBRARIES = libtaskui.a
|
||||
libtaskui_a_SOURCES = UI.cpp Layout.cpp Element.cpp Clock.cpp Keys.cpp \
|
||||
Message.cpp Report.cpp Stats.cpp Title.cpp resize.cpp \
|
||||
ReportStats.cpp log.cpp \
|
||||
Clock.h Element.h Keys.h Layout.h Message.h Report.h \
|
||||
ReportStats.h Stats.h Title.h UI.h log.h
|
||||
libtaskui_a_CPPFLAGS = -I../util -I..
|
|
@ -33,7 +33,7 @@
|
|||
#include "log.h"
|
||||
#include "Layout.h"
|
||||
#include "i18n.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
#ifdef HAVE_LIBNCURSES
|
||||
#include <ncurses.h>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "main.h"
|
||||
#include "i18n.h"
|
||||
#include "util.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <map>
|
||||
#include <sys/types.h>
|
||||
#include "Task.h"
|
||||
#include "../auto.h"
|
||||
#include "../cmake.h"
|
||||
|
||||
#ifndef min
|
||||
#define min(a,b) ((a) < (b) ? (a) : (b))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue