[CMake] this is what i got struck

2010-01-28 Thread jojelino
i want to include gtk dependency libraries with gtk itself. but followings was error-prone. set(a "") find_library(a NAMES gdk_pixbuf-2.0) set(GTKLIBS ${GTKLIBS} ${a}) set(a "") find_library(a NAMES gdk-win32-2.0) set(GTKLIBS ${GTKLIBS} ${a}) set(a "") find_library(a NAMES gtk-win32-2.0) set(GTKL

[CMake] how to add LDFLAGS BY FORCE??

2010-01-28 Thread jojelino
I DONT WANT 'CMAKE' DO DEPENDENCY STUFF. because it sucks very much. instead of letting cmake do MORON stuff to piss me off, i want to give it wise and toleable solution by giving LDFLAGS stuff by hand after source files (surely it is external library) such as gcc -shared -o out.exe a.o b.o c.o.