Compare commits
1 commit
master
...
fix_unix_b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acc9bb9db0 |
2 changed files with 10 additions and 2 deletions
|
|
@ -19,7 +19,9 @@ compile = "nimui/common/*.c"
|
|||
compile-win = "nimui/windows/*.cpp"
|
||||
compile-lin = "nimui/unix/*.c"
|
||||
|
||||
pragma.passC = "passC: \"--std=c++11\""
|
||||
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-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\""
|
||||
|
||||
|
|
@ -52,4 +54,7 @@ search.8 = "type\nconst\n"
|
|||
replace.8 = "const\n"
|
||||
|
||||
search.9 = "{.compile: \"nimui/common/OLD_table.c\".}"
|
||||
comment.9 = 1
|
||||
comment.9 = 1
|
||||
|
||||
search.10 = "{.compile: (\"../nimui/unix/OLD_table.c\", \"OLD_table1.o\").}"
|
||||
comment.10 = 1
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ 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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue