Move GEANY_GBO_COMPILE etc to build.c
This commit is contained in:
parent
434cfe580b
commit
f088e7bdf6
16
src/build.c
16
src/build.c
@ -81,6 +81,22 @@ static RunInfo *run_info;
|
||||
static const gchar RUN_SCRIPT_CMD[] = "geany_run_script_XXXXXX.sh";
|
||||
#endif
|
||||
|
||||
/* Order is important (see GBO_TO_GBG, GBO_TO_CMD below) */
|
||||
/* * Geany Known Build Commands.
|
||||
* These commands are named after their default use.
|
||||
* Only these commands can currently have keybindings.
|
||||
**/
|
||||
typedef enum
|
||||
{
|
||||
GEANY_GBO_COMPILE, /* *< default compile file */
|
||||
GEANY_GBO_BUILD, /* *< default build file */
|
||||
GEANY_GBO_MAKE_ALL, /* *< default make */
|
||||
GEANY_GBO_CUSTOM, /* *< default make user specified target */
|
||||
GEANY_GBO_MAKE_OBJECT, /* *< default make object, make %e.o */
|
||||
GEANY_GBO_EXEC, /* *< default execute ./%e */
|
||||
GEANY_GBO_COUNT /* *< count of how many */
|
||||
} GeanyBuildType;
|
||||
|
||||
/* * Convert @c GeanyBuildType to @c GeanyBuildGroup.
|
||||
*
|
||||
* This macro converts @c GeanyBuildType enum values (the "known" commands)
|
||||
|
16
src/build.h
16
src/build.h
@ -75,22 +75,6 @@ guint build_get_group_count(const GeanyBuildGroup grp);
|
||||
|
||||
#ifdef GEANY_PRIVATE
|
||||
|
||||
/* Order is important (see GBO_TO_GBG, GBO_TO_CMD below) */
|
||||
/* * Geany Known Build Commands.
|
||||
* These commands are named after their default use.
|
||||
* Only these commands can currently have keybindings.
|
||||
**/
|
||||
typedef enum
|
||||
{
|
||||
GEANY_GBO_COMPILE, /* *< default compile file */
|
||||
GEANY_GBO_BUILD, /* *< default build file */
|
||||
GEANY_GBO_MAKE_ALL, /* *< default make */
|
||||
GEANY_GBO_CUSTOM, /* *< default make user specified target */
|
||||
GEANY_GBO_MAKE_OBJECT, /* *< default make object, make %e.o */
|
||||
GEANY_GBO_EXEC, /* *< default execute ./%e */
|
||||
GEANY_GBO_COUNT /* *< count of how many */
|
||||
} GeanyBuildType;
|
||||
|
||||
/* include the fixed widgets in an array indexed by groups */
|
||||
#define GBG_FIXED GEANY_GBG_COUNT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user