start on "The GUI Problem^TM"

This commit is contained in:
2025-03-20 17:46:30 -05:00
parent fbfdb66bcb
commit 85ca37da22
6 changed files with 57 additions and 36 deletions

View File

@@ -153,6 +153,62 @@
};
TestImgui = pkgs.stdenvNoCC.mkDerivation {
name = "TestImgui";
src = ./.;
inherit imgui;
nativeBuildInputs = with pkgs; [
gcc
];
buildPhase = ''
g++ \
modules/TestImgui/src/*.cpp src/App.cpp \
-fpic -shared \
-I src -I include \
-Wall \
-o $name
'';
installPhase = ''
mkdir -p $out/bin
cp $name $out/bin
'';
};
TestClay = pkgs.stdenvNoCC.mkDerivation {
name = "TestClay";
src = ./.;
inherit imgui;
nativeBuildInputs = with pkgs; [
gcc
];
buildPhase = ''
g++ \
modules/TestClay/src/*.cpp src/App.cpp \
-fpic -shared \
-I src -I include \
-Wall \
-o $name
'';
installPhase = ''
mkdir -p $out/bin
cp $name $out/bin
'';
};
MainGUI = pkgs.stdenvNoCC.mkDerivation {
name = "MainGUI";