It would be best if you explained your use case in more detail. Anyway, this
might be a helpful read

http://cmake.org/cmake/help/cmake-2-8-docs.html#module:FindGTK2

Best,

Adolfo.


On Thu, Jan 28, 2010 at 10:30 AM, jojelino <jojel...@gmail.com> wrote:

> 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(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES gdi32)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES imm32)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES shell32)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES ole32)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES uuid)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES pangocairo-1.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES pangoft2-1.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES pangowin32-1.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES gdi32)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES freetype)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES fontconfig)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES pango-1.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES m)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES atk-1.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES cairo)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES gio-2.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES gobject-2.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES gmodule-2.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES gthread-2.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES glib-2.0)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> find_library(a NAMES intl)
> set(GTKLIBS ${GTKLIBS} ${a})
> set(a "")
> mark_as_advanced(GTKLIBS)
> target_link_libraries(dev9null ${GTKLIBS})
> target_link_libraries(CDVDnull ${GTKLIBS})
>
> I wondered why this brute-force based method doesn't work with cmake.
> it complains it isn't from project so it can't compile. what a mess. cmake,
> this is not what you need to care for!
> how we can deceive cmake so that i can work without problem?
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Adolfo Rodríguez Tsouroukdissian, Ph. D.

Robotics engineer
PAL ROBOTICS S.L
http://www.pal-robotics.com
Tel. +34.93.414.53.47
Fax.+34.93.209.11.09
AVISO DE CONFIDENCIALIDAD: Este mensaje y sus documentos adjuntos, pueden
contener información privilegiada y/o confidencial que está dirigida
exclusivamente a su destinatario. Si usted recibe este mensaje y no es el
destinatario indicado, o el empleado encargado de su entrega a dicha
persona, por favor, notifíquelo inmediatamente y remita el mensaje original
a la dirección de correo electrónico indicada. Cualquier copia, uso o
distribución no autorizados de esta comunicación queda estrictamente
prohibida.

CONFIDENTIALITY NOTICE: This e-mail and the accompanying document(s) may
contain confidential information which is privileged and intended only for
the individual or entity to whom they are addressed.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution or use of this e-mail and/or accompanying document(s) is
strictly prohibited.  If you have received this e-mail in error, please
immediately notify the sender at the above e-mail address.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to