work on main app
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -32,6 +32,7 @@
|
||||
buildPhase = ''
|
||||
g++ \
|
||||
*.cpp \
|
||||
-Wall \
|
||||
-o $name
|
||||
'';
|
||||
|
||||
@@ -54,9 +55,10 @@
|
||||
|
||||
buildPhase = ''
|
||||
g++ \
|
||||
modules/TestMenu/src/*.cpp src/App.cpp \
|
||||
modules/TestMenu/src/**.cpp src/App.cpp \
|
||||
-fpic -shared \
|
||||
-I src \
|
||||
-Wall \
|
||||
-o $name
|
||||
'';
|
||||
|
||||
@@ -79,9 +81,10 @@
|
||||
|
||||
buildPhase = ''
|
||||
g++ \
|
||||
modules/Print/src/*.cpp src/App.cpp \
|
||||
modules/Print/src/**.cpp src/App.cpp \
|
||||
-fpic -shared \
|
||||
-I src -I include \
|
||||
-Wall \
|
||||
-o $name
|
||||
'';
|
||||
|
||||
@@ -109,10 +112,11 @@
|
||||
|
||||
buildPhase = ''
|
||||
g++ \
|
||||
modules/Window/src/*.cpp modules/Window/src/WindowImpl/GLFW/*.cpp src/App.cpp \
|
||||
modules/Window/src/**.cpp src/App.cpp \
|
||||
-fpic -shared \
|
||||
-I src -I include \
|
||||
-lGL -lglfw -lGLEW \
|
||||
-Wall \
|
||||
-o $name
|
||||
'';
|
||||
|
||||
@@ -137,9 +141,10 @@
|
||||
|
||||
buildPhase = ''
|
||||
g++ \
|
||||
modules/MainGUI/src/*.cpp src/App.cpp \
|
||||
modules/MainGUI/src/**.cpp src/App.cpp \
|
||||
-fpic -shared \
|
||||
-I src -I include \
|
||||
-Wall \
|
||||
-o $name
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user