Commit ca2cb6dd authored by Christian Hergert's avatar Christian Hergert

build: don't include build identifier unless necessary

If we include this from ide.h or ide-version.h, we risk causing massive
rebuilds for things that are not necessary. So instead, just include it
manually from the places we need it.
parent 702db15e
......@@ -23,6 +23,7 @@
#include <glib/gi18n.h>
#include "ide-build-ident.h"
#include "ide-debug.h"
#include "ide-version.h"
......
......@@ -23,8 +23,6 @@
# error "Only <ide.h> can be included directly."
#endif
#include "ide-build-ident.h"
/**
* SECTION:jsonrpc-version
* @short_description: libide version checking
......
......@@ -25,11 +25,17 @@ G_BEGIN_DECLS
#define IDE_INSIDE
#include "ide-build-ident.h"
#include "ide-version.h"
#include "ide-types.h"
#include "ide-context.h"
#include "ide-debug.h"
#include "ide-enums.h"
#include "ide-global.h"
#include "ide-macros.h"
#include "ide-object.h"
#include "ide-service.h"
#include "ide-version.h"
#include "application/ide-application-addin.h"
#include "application/ide-application-tool.h"
#include "application/ide-application.h"
......@@ -77,14 +83,6 @@ G_BEGIN_DECLS
#include "highlighting/ide-highlighter.h"
#include "history/ide-back-forward-item.h"
#include "history/ide-back-forward-list.h"
#include "ide-context.h"
#include "ide-debug.h"
#include "ide-enums.h"
#include "ide-global.h"
#include "ide-macros.h"
#include "ide-object.h"
#include "ide-service.h"
#include "ide-types.h"
#include "langserv/ide-langserv-client.h"
#include "langserv/ide-langserv-completion-provider.h"
#include "langserv/ide-langserv-diagnostic-provider.h"
......
......@@ -23,6 +23,7 @@
#include <dazzle.h>
#include <gtk/gtk.h>
#include <ide.h>
#include <ide-build-ident.h>
#include <string.h>
#include "ide-support.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment