mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
CMake
- improve compilation by removing the git sha1 dependency into its own include file that is just used 2 times instead of auto.h that is included in more places.
This commit is contained in:
parent
792eab8621
commit
32235ca60a
6 changed files with 14 additions and 2 deletions
|
@ -42,8 +42,11 @@
|
|||
#include "text.h"
|
||||
#include "util.h"
|
||||
#include "main.h"
|
||||
#include "../auto.h"
|
||||
#include "Transport.h"
|
||||
#include "../auto.h"
|
||||
#ifdef HAVE_COMMIT
|
||||
#include "../commit.h"
|
||||
#endif
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
|
|
@ -39,6 +39,9 @@
|
|||
#include <main.h>
|
||||
#include <util.h>
|
||||
#include "../auto.h"
|
||||
#ifdef HAVE_COMMIT
|
||||
#include "../commit.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBLUA
|
||||
extern "C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue