mirror of https://git.wownero.com/dsc/mxe.git
test program for package gtkmm
This commit is contained in:
parent
7a2c1cb301
commit
cf62383b1d
|
@ -0,0 +1,17 @@
|
|||
/* This file is part of mingw-cross-env. */
|
||||
/* See doc/index.html for further information. */
|
||||
|
||||
#include <gtkmm/window.h>
|
||||
#include <gtkmm/main.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
Gtk::Main g(argc, argv);
|
||||
|
||||
Gtk::Window window;
|
||||
window.set_title("Test App mingw-cross-env");
|
||||
window.set_default_size(200, 200);
|
||||
window.show_all();
|
||||
g.run(window);
|
||||
return 0;
|
||||
}
|
|
@ -29,4 +29,10 @@ define $(PKG)_BUILD
|
|||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
MAKE=$(MAKE)
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
|
||||
'$(TARGET)-g++' \
|
||||
-W -Wall -Werror -pedantic -std=c++0x\
|
||||
'$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
|
||||
`'$(TARGET)-pkg-config' gtkmm-2.4 --cflags --libs` \
|
||||
-lwinspool -lcomctl32 -lcomdlg32 -ldnsapi
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue