[CMake] How can I write CMakeLists.txt to link a special library?

2008-12-13 Thread Kermit Mei
Hello, all. I used sigc++ library in my program, so I must compile my main.cc like this: c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -lsigc-2.0 Then, how can I write the CMakeLists.txt? I worte it like this: cmake_minimum_required(VERSION 2.6)

[CMake] Linking Boost with MinGW

2008-12-13 Thread kafou nmento
Hi all! I'm having some troubles in linking boost using MinGW generator. The thing is I'm working on a Qt based app using boost libs. When building the app, everything goes well but not the linking. Although passing the needed boost libs as args to the target_link_libraries(), the link doesn't

Re: [CMake] How to copy dependent files

2008-12-13 Thread Tron Thomas
I have tried a different approach that has been more successful: add_custom_target(CopyXML ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/XML ${EXECUTABLE_OUTPUT_PATH} add_dependencies(UnitTest CopyXML) This will always copy the files whether they need to be updated or

[CMake] website down?

2008-12-13 Thread Philip Lowman
Is anyone else having problems with accessing the CMake website? -- Philip Lowman ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How can I write CMakeLists.txt to link a special library?

2008-12-13 Thread Werner Smekal
Hi, Kermit Mei wrote: Hello, all. I used sigc++ library in my program, so I must compile my main.cc like this: c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -lsigc-2.0 Then, how can I write the CMakeLists.txt? I worte it like this:

Re: [CMake] website down?

2008-12-13 Thread Christopher Harvey
works here. Philip Lowman wrote: Is anyone else having problems with accessing the CMake website? -- Philip Lowman ___ CMake mailing list CMake@cmake.org

Re: [CMake] FindBoost.cmake

2008-12-13 Thread Andreas Pakulat
On 12.12.08 09:03:48, Eric NOULARD wrote: Le Fri, 12 Dec 2008 01:50:29 -0500, Philip Lowman phi...@yhbt.com a écrit : There's an open bug to fix this here: http://public.kitware.com/Bug/view.php?id=8173 But no reaction so far... Obviously many bugs in the tracker aren't

Re: [CMake] FindBoost.cmake

2008-12-13 Thread Eric NOULARD
Le Fri, 12 Dec 2008 11:01:55 +0100, Andreas Pakulat ap...@gmx.de a écrit : I'm no Kitware employee but so far I think that at least for FindBoost.cmake (or other maintained Find modules) the bugs should be handled directly by its maintainer:

Re: [CMake] Tests on FindwxWidgets.cmake (Win32) with patch

2008-12-13 Thread Miguel A. Figueroa-Villanueva
On Sat, Dec 13, 2008 at 5:47 PM, Werner Smekal wrote: Hi Miguel and list, there are two bugs on Win32 (MinGW/CLI and Visual C++) in FindwxWidgets.cmake which should if possible fixed for cmake 2.6.3: 1) For Unicode builds of wxWidgets (MinGW, Visual C++) linking will fail 2) For Debug build

Re: [CMake] Problems with Intel Fortran 11 on Windows XP

2008-12-13 Thread Tormod.Ravnanger.Landet
Hi, I have a build system that works for Intel compilers (v 10) on Linux. Now I am trying to port it to windows. I am using the newest trial versions of Visual Studio (2009) and the Intel compilers (v. 11). The configuration fails with the attached error message. I assume CMake is having

Re: [CMake] website down?

2008-12-13 Thread Bill Hoffman
Christopher Harvey wrote: works here. We had an ice storm and lost power at Kitware for about 24 hours. It seems to be back for now. Sorry for the trouble. -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindBoost.cmake

2008-12-13 Thread Philip Lowman
. Original Message ... On Fri, 12 Dec 2008 09:03:48 +0100 Eric NOULARD eric.noul...@gmail.com wrote: Le Fri, 12 Dec 2008 01:50:29 -0500, Philip Lowman phi...@yhbt.com a écrit : There's an open bug to fix this here: http://public.kitware.com/Bug/view.php?id=8173 But no

[CMake] Unit test is not executed from expected directory

2008-12-13 Thread Tron Thomas
I am trying to use CMake to configure a project that has unit tests. One unit test requires supporting XML files to perform its test. It was assumed that the test would be executed from the directory where the test application exists, so a target was added that copies the XML files to that

Re: [CMake] FindBoost.cmake

2008-12-13 Thread Eric Noulard
2008/12/12 Philip Lowman phi...@yhbt.com: I'm no Kitware employee but so far I think that at least for FindBoost.cmake (or other maintained Find modules) the bugs should be handled directly by its maintainer: http://www.cmake.org/Wiki/CMake:Module_Maintainers May be it's worth asking Andreas if

Re: [CMake] How can I write CMakeLists.txt to link a special library?

2008-12-13 Thread Kermit Mei
Werner Smekal wrote: Hi, Kermit Mei wrote: Hello, all. I used sigc++ library in my program, so I must compile my main.cc like this: c++ -Wall main.cc -o main -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -lsigc-2.0 Then, how can I write the CMakeLists.txt? I worte it like

Re: [CMake] How to delete a link with make uninstall ?

2008-12-13 Thread Kermit Mei
Philip Lowman wrote: On Wed, Dec 10, 2008 at 2:13 PM, Kermit Mei kermit@gmail.com mailto:kermit@gmail.com wrote: http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F Hello, I config my project as the above told. Everything is OK when I make