forked from akiraux/Akira
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse akira-library in Akira (akiraux#576)
Instead of essentially building the entire project twice, we can reduce build times by only building src/Main.vala and then statically linking it with akira-library.
- Loading branch information
Showing
5 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,16 +19,13 @@ | |
* Authored by: Alessandro "Alecaddd" Castellani <[email protected]> | ||
*/ | ||
|
||
public const string APP_NAME = "Akira"; | ||
public const string TERMINAL_NAME = "akira"; | ||
|
||
public static bool verbose = false; | ||
|
||
public static int main (string[] args) { | ||
verbose = "-d" in args; | ||
|
||
Environment.set_application_name (APP_NAME); | ||
Environment.set_prgname (APP_NAME); | ||
Environment.set_application_name (Constants.APP_NAME); | ||
Environment.set_prgname (Constants.APP_NAME); | ||
|
||
var application = new Akira.Application (); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
namespace Constants { | ||
public const string DATADIR = "@DATADIR@"; | ||
public const string PKGDATADIR = "@PKGDATADIR@"; | ||
public const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@"; | ||
public const string PROJECT_NAME = "@PROJECT_NAME@"; | ||
public const string VERSION = "@VERSION@"; | ||
public const string INSTALL_PREFIX = "@PREFIX@"; | ||
public const string APP_ID = "@APP_ID@"; | ||
public const string PROFILE = "@PROFILE@"; | ||
public const string DATADIR = "@DATADIR@"; | ||
public const string PKGDATADIR = "@PKGDATADIR@"; | ||
public const string GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@"; | ||
public const string PROJECT_NAME = "@PROJECT_NAME@"; | ||
public const string VERSION = "@VERSION@"; | ||
public const string INSTALL_PREFIX = "@PREFIX@"; | ||
public const string APP_ID = "@APP_ID@"; | ||
public const string PROFILE = "@PROFILE@"; | ||
|
||
public const string APP_NAME = "Akira"; | ||
public const string TERMINAL_NAME = "akira"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters