Use a central header.
$ time (make clean; make) Before: ~8.0 seconds After: ~8.1 seconds
This commit is contained in:
parent
01d771403e
commit
63b36a2b5b
@ -95,6 +95,7 @@ set (logdiag_SOURCES
|
||||
src/ld-lua-symbol.c)
|
||||
set (logdiag_HEADERS
|
||||
${CMAKE_CURRENT_BINARY_DIR}/config.h
|
||||
src/liblogdiag.h
|
||||
src/ld-marshal.h
|
||||
src/ld-types.h
|
||||
src/ld-window-main.h
|
||||
|
@ -10,21 +10,11 @@
|
||||
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-marshal.h"
|
||||
#include "ld-types.h"
|
||||
#include "ld-diagram-object.h"
|
||||
#include "ld-diagram-symbol.h"
|
||||
#include "ld-diagram.h"
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-library.h"
|
||||
#include "ld-canvas.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-canvas
|
||||
|
@ -8,12 +8,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-diagram-object.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-diagram-object
|
||||
|
@ -8,13 +8,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-diagram-object.h"
|
||||
#include "ld-diagram-symbol.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-diagram-symbol
|
||||
|
@ -8,14 +8,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <json-glib/json-glib.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-diagram-object.h"
|
||||
#include "ld-diagram.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-diagram
|
||||
|
@ -10,18 +10,9 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <json-glib/json-glib.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-types.h"
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-symbol-category.h"
|
||||
#include "ld-library.h"
|
||||
|
||||
#include "ld-lua.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-library
|
||||
|
@ -8,18 +8,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-types.h"
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-symbol-category.h"
|
||||
#include "ld-library.h"
|
||||
|
||||
#include "ld-lua.h"
|
||||
#include "ld-lua-symbol.h"
|
||||
|
||||
#include "ld-lua-private.h"
|
||||
#include "ld-lua-symbol-private.h"
|
||||
|
||||
|
@ -8,20 +8,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-types.h"
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-library.h"
|
||||
|
||||
#include "ld-lua.h"
|
||||
#include "ld-lua-symbol.h"
|
||||
|
||||
#include "ld-lua-private.h"
|
||||
#include "ld-lua-symbol-private.h"
|
||||
|
||||
|
@ -8,15 +8,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-types.h"
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-symbol-category.h"
|
||||
#include "ld-library.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-symbol-category
|
||||
|
@ -8,15 +8,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-types.h"
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-symbol-category.h"
|
||||
#include "ld-library.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-symbol
|
||||
|
@ -10,12 +10,9 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-types.h"
|
||||
|
||||
|
||||
#define DEFINE_BOXED_TYPE(TypeName, type_name) \
|
||||
GType \
|
||||
|
@ -10,21 +10,11 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "liblogdiag.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "ld-window-main.h"
|
||||
|
||||
#include "ld-types.h"
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-symbol-category.h"
|
||||
#include "ld-library.h"
|
||||
|
||||
#include "ld-diagram-object.h"
|
||||
#include "ld-diagram-symbol.h"
|
||||
#include "ld-diagram.h"
|
||||
|
||||
#include "ld-canvas.h"
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:ld-window-main
|
||||
|
34
src/liblogdiag.h
Normal file
34
src/liblogdiag.h
Normal file
@ -0,0 +1,34 @@
|
||||
/*
|
||||
* liblogdiag.h
|
||||
*
|
||||
* This file is a part of logdiag.
|
||||
* Copyright Přemysl Janouch 2011. All rights reserved.
|
||||
*
|
||||
* See the file LICENSE for licensing information.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __LIBLOGDIAG_H__
|
||||
#define __LIBLOGDIAG_H__
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <json-glib/json-glib.h>
|
||||
|
||||
#include "ld-marshal.h"
|
||||
#include "ld-types.h"
|
||||
|
||||
#include "ld-symbol.h"
|
||||
#include "ld-symbol-category.h"
|
||||
#include "ld-library.h"
|
||||
|
||||
#include "ld-diagram-object.h"
|
||||
#include "ld-diagram-symbol.h"
|
||||
#include "ld-diagram.h"
|
||||
|
||||
#include "ld-canvas.h"
|
||||
|
||||
#include "ld-lua.h"
|
||||
#include "ld-lua-symbol.h"
|
||||
|
||||
#endif /* ! __LIBLOGDIAG_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user