Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wxutil library is now buildable with CMake
find_package(wxWidgets) is used to locate wxWidgets itself; also added the FTGL dependency and bumped cmake_minimum_required to 3.12 (for add_compile_definitions) and C++ version to C++14 (for make_unique).
- Loading branch information
Matthew Mott
committed
Dec 3, 2020
1 parent
5df7247
commit 3d9d7eb
Showing
2 changed files
with
32 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
add_library(wxutil | ||
ConsoleView.cpp | ||
DirChooser.cpp | ||
EntityClassChooser.cpp | ||
FileChooser.cpp | ||
FreezePointer.cpp | ||
GLFont.cpp | ||
GLWidget.cpp | ||
KeyValueTable.cpp | ||
ModalProgressDialog.cpp | ||
MouseToolHandler.cpp | ||
PanedPosition.cpp | ||
PathEntry.cpp | ||
SerialisableWidgets.cpp | ||
SourceView.cpp | ||
Splitter.cpp | ||
TreeModel.cpp | ||
TreeModelFilter.cpp | ||
TreeView.cpp | ||
VFSTreePopulator.cpp | ||
WindowPosition.cpp) | ||
target_compile_options(wxutil PUBLIC ${SIGC_CFLAGS} ${FTGL_CFLAGS}) |