Hi there,
I'm newbie in cmake and am trying to use
PKGCONFIG without success. Certainly
I'm missing something. See my CMakeLists.txt
below:
----> begin
PROJECT(PrivateKeyDialogProject)
SET(CurrentExe passwdP8)
INCLUDE(UsePkgConfig)
SET(libglademm glademm-2.4)
SET(libgtkmm gtkmm-2.4)
PKGCONFIG(${libglademm} GLADEMM_INCLUDE_DIRS GLADEMM_LIBRARY_DIRS
GLADEMM_LINK_FLAGS GLADEMM_CFLAGS)
PKGCONFIG(${libgtkmm} GTKMM_INCLUDE_DIRS GTKMM_LIBRARY_DIRS
GTKMM_LINK_FLAGS GTKMM_CFLAGS)
ADD_EXECUTABLE(${CurrentExe} principal.cpp CDlgSenhaP8.cpp)
TARGET_LINK_LIBRARIES(${CurrentExe} ${libglademm} ${libgtkmm})
<--- end
Doing that way the generated Makefile doesn't
contain the necessary libs to compile properly.
I'll appreciate your help. Thank's in advance.
Alex
Rio de Janeiro - Brazil
**********************************************************************
Informação transmitida destina-se apenas à pessoa a quem foi endereçada e pode
conter informação confidencial, legalmente protegida e para conhecimento
exclusivo do destinatário. Se o leitor desta advertência não for o seu
destinatário, fica ciente de que sua leitura, divulgação ou cópia é
estritamente proibida. Caso a mensagem tenha sido recebida por engano, favor
comunicar ao remetente e apagar o texto de qualquer computador.
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon this information, by person or entity other than the intended
recipient is prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
***************************************************
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake