Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shell|libshell: Set up libshell as a sub-library of libdeng2
As a sub-library, libshell uses the namespace de::shell, and the public header folder "de/shell". The classes TextCanvas, TextWidget, and TextRootWidget were moved to libshell so they can be used also in shell-gui and other executables.
- Loading branch information
Showing
20 changed files
with
162 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Build configuration for using the libdeng_shell library. | ||
shellDir = tools/shell/libshell | ||
INCLUDEPATH += $$PWD/$$shellDir/include | ||
|
||
# Use the appropriate library path. | ||
!useLibDir($$OUT_PWD/../$$shellDir) { | ||
!useLibDir($$OUT_PWD/../../$$shellDir) { | ||
!useLibDir($$OUT_PWD/../../../$$shellDir) { | ||
useLibDir($$OUT_PWD/../../builddir/$$shellDir) | ||
} | ||
} | ||
} | ||
|
||
LIBS += -ldeng_shell | ||
|
||
macx { | ||
defineTest(linkBinaryToBundledLibdengShell) { | ||
fixInstallName($${1}, libdeng_shell.0.dylib, ..) | ||
} | ||
defineTest(linkToBundledLibdengShell) { | ||
linkBinaryToBundledLibdengShell($${1}.bundle/$$1) | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "textcanvas.h" |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "textrootwidget.h" |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "textwidget.h" |
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
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
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
Oops, something went wrong.