diff --git a/nimui.cfg b/nimui.cfg index 38aa774..a2a3248 100644 --- a/nimui.cfg +++ b/nimui.cfg @@ -19,9 +19,7 @@ compile = "nimui/common/*.c" compile-win = "nimui/windows/*.cpp" compile-lin = "nimui/unix/*.c" -pragma-lin.passC = "passC: \"$(pkg-config --cflags-only-I gtk+-3.0) --std=c99\"" -pragma-lin.passL = "passL: \"$(pkg-config --libs gtk+-3.0)\"" -pragma-win.passC = "passC: \"--std=c++11\"" +pragma.passC = "passC: \"--std=c++11\"" pragma-win.passL = "passL: \"-luser32 -lkernel32 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -luuid -lwindowscodecs -lstdc++\"" pragma-win.rc = "link: \"nimui/examples/resources.o\"" @@ -54,7 +52,4 @@ search.8 = "type\nconst\n" replace.8 = "const\n" search.9 = "{.compile: \"nimui/common/OLD_table.c\".}" -comment.9 = 1 - -search.10 = "{.compile: (\"../nimui/unix/OLD_table.c\", \"OLD_table1.o\").}" -comment.10 = 1 +comment.9 = 1 \ No newline at end of file diff --git a/nimui.nimble b/nimui.nimble index acc6d7d..bdf8ffd 100644 --- a/nimui.nimble +++ b/nimui.nimble @@ -20,9 +20,6 @@ if detectOs(Windows): cmd = "cmd /c " ext = ".exe" -if not detectOs(Windows): - foreignDep "libgtk-3-dev" - task setup, "Download and generate": exec cmd & "nimgen nimui.cfg"