commit e71cb706c9641f1a6ec336bcd5cb3d3710699fa7 Author: nukashimika Date: Sat Aug 13 02:29:23 2022 -0600 init diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..3e5bd30 --- /dev/null +++ b/meson.build @@ -0,0 +1,7 @@ +project('multiplex', 'cpp') + +qt = [dependency('qt5')] +src = [ + 'src/main.cpp' + ] +executable('multiplex', sources: src, dependencies: qt) diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..19f5aa3 --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{pkgs ? import {} }: + +pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + glfw + glew + gcc + zsh + exa + pkg-config + ]; +} diff --git a/src/include/app.hpp b/src/include/app.hpp new file mode 100644 index 0000000..da77ac8 --- /dev/null +++ b/src/include/app.hpp @@ -0,0 +1,11 @@ + + +class App +{ + public: + void run() + { + + } + private: +}; diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..e607d6e --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,14 @@ +#include +#include +#include "include/app.hpp" + +int main() +{ + App app; + + try { + app.run(); + } catch (std::exception ex) { + std::cout << "ERROR: " << ex.what() << std::endl; + } +}