Commit b60c7d68 authored by Christian Hergert's avatar Christian Hergert
Browse files

build: fix building externally

Fixes #1213
parent f07e2953
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#ifndef IDE_VERSION_H #ifndef IDE_VERSION_H
#define IDE_VERSION_H #define IDE_VERSION_H
#if !defined(IDE_INSIDE) && !defined(IDE_COMPILATION) #if !defined(IDE_CORE_INSIDE) && !defined(IDE_CORE_COMPILATION)
# error "Only <ide.h> can be included directly." # error "Only <libide-core.h> can be included directly."
#endif #endif
/** /**
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#include <stdlib.h> #include <stdlib.h>
#include "ide-debug.h"
#include "ide-debugger-breakpoints.h" #include "ide-debugger-breakpoints.h"
#include "ide-debugger-private.h" #include "ide-debugger-private.h"
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include "config.h" #include "config.h"
#include "ide-debug.h"
#include "ide-pipeline.h" #include "ide-pipeline.h"
#include "ide-deploy-strategy.h" #include "ide-deploy-strategy.h"
......
...@@ -28,6 +28,7 @@ libide_foundry_public_headers = [ ...@@ -28,6 +28,7 @@ libide_foundry_public_headers = [
'ide-device-provider.h', 'ide-device-provider.h',
'ide-device.h', 'ide-device.h',
'ide-fallback-build-system.h', 'ide-fallback-build-system.h',
'ide-foundry-compat.h',
'ide-foundry-types.h', 'ide-foundry-types.h',
'ide-local-device.h', 'ide-local-device.h',
'ide-pipeline-addin.h', 'ide-pipeline-addin.h',
...@@ -45,6 +46,9 @@ libide_foundry_public_headers = [ ...@@ -45,6 +46,9 @@ libide_foundry_public_headers = [
'ide-simple-build-system-discovery.h', 'ide-simple-build-system-discovery.h',
'ide-simple-build-target.h', 'ide-simple-build-target.h',
'ide-simple-toolchain.h', 'ide-simple-toolchain.h',
'ide-test.h',
'ide-test-manager.h',
'ide-test-provider.h',
'ide-toolchain-manager.h', 'ide-toolchain-manager.h',
'ide-toolchain-provider.h', 'ide-toolchain-provider.h',
'ide-toolchain.h', 'ide-toolchain.h',
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <unistd.h> #include <unistd.h>
#include "ide-application-private.h" #include "ide-application-private.h"
#include "ide-debug.h"
#include "ide-thread-private.h" #include "ide-thread-private.h"
#include "ide-terminal-private.h" #include "ide-terminal-private.h"
#include "ide-private.h" #include "ide-private.h"
......
...@@ -96,7 +96,7 @@ pkgconfig.generate( ...@@ -96,7 +96,7 @@ pkgconfig.generate(
filebase: 'gnome-builder-@0@.@1@'.format(MAJOR_VERSION, MINOR_VERSION), filebase: 'gnome-builder-@0@.@1@'.format(MAJOR_VERSION, MINOR_VERSION),
description: 'Contains the plugin container for Builder.', description: 'Contains the plugin container for Builder.',
install_dir: join_paths(pkglibdir, 'pkgconfig'), install_dir: join_paths(pkglibdir, 'pkgconfig'),
requires: [ 'gio-2.0', 'gio-unix-2.0', 'gtk+-3.0', 'libdazzle-1.0' ], requires: [ 'gio-2.0', 'gio-unix-2.0', 'gtk+-3.0', 'gtksourceview-4', 'libdazzle-1.0', 'vte-2.91', 'template-glib-1.0', 'libpeas-1.0' ],
) )
libide_gir = gnome.generate_gir(gnome_builder, libide_gir = gnome.generate_gir(gnome_builder,
......
...@@ -27,12 +27,10 @@ ...@@ -27,12 +27,10 @@
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <string.h> #include <string.h>
#include <libide-core.h>
#include <libide-foundry.h> #include <libide-foundry.h>
#include <libide-threading.h> #include <libide-threading.h>
#include "ide-context.h"
#include "ide-debug.h"
#include "ide-buildconfig-config.h" #include "ide-buildconfig-config.h"
#include "ide-buildconfig-config-provider.h" #include "ide-buildconfig-config-provider.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