Initial commit

This commit is contained in:
TheKodeToad 2024-06-08 12:40:21 +01:00
commit b6b70fed17
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
6 changed files with 45 additions and 0 deletions

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
cmake-build-debug/
cmake-build-release/
.idea/
.project
.workspace
.settings/

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "lib/wx"]
path = lib/wx
url = https://github.com/wxWidgets/wxWidgets.git

8
CMakeLists.txt Normal file
View file

@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.25)
project(leapfrog)
add_subdirectory(lib)
add_executable(leapfrog main.cpp)
target_link_libraries(leapfrog PRIVATE wx::base wx::core wx::net)
include_directories(lib/wx/include)

8
lib/CMakeLists.txt Normal file
View file

@ -0,0 +1,8 @@
set(wxBUILD_SHARED OFF)
set(wxUSE_REGEX OFF)
set(wxUSE_ZLIB OFF)
set(wxUSE_LIBTIFF OFF)
set(wxUSE_LIBJPEG OFF)
set(wxUSE_LIBSDL OFF)
set(wxUSE_WEBVIEW OFF)
add_subdirectory(wx)

1
lib/wx Submodule

@ -0,0 +1 @@
Subproject commit 0e4a5d9a0d748a4e5ae475e3c83fc988076a3098

17
main.cpp Normal file
View file

@ -0,0 +1,17 @@
#include <iostream>
#include <wx/wx.h>
class App final : public wxApp {
public:
bool OnInit() override {
if (!wxApp::OnInit())
return false;
wxMessageBox("gaming");
return true;
}
};
wxIMPLEMENT_APP(App);