start on "The GUI Problem^TM"
This commit is contained in:
56
flake.nix
56
flake.nix
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user