Re: [cmake-developers] new Generator

2012-07-04 Thread Peter Kümmel
On 04.07.2012 02:10, J Decker wrote: ninja looks promising as an inbetween; lcc of course has it's own make. I however don't find ninja on windows latest download... there's a couple references in the /share/ Unofficial binaries you could find here:

[cmake-developers] [CMake 0013375]: Xcode generator does not add path to source groups

2012-07-04 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13375 == Reported By:Francois Best Assigned To:

[cmake-developers] [CMake 0013376]: For unset variables IF(${var}) and IF(NOT ${var}) both return FALSE which fails to work for predefined vars such as CYGWIN

2012-07-04 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://cmake.org/Bug/view.php?id=13376 == Reported By:Bruce Cartland Assigned To:

Re: [CMake] Failed to submit ctest report to public.kitware.com CDash server

2012-07-04 Thread hce
Thanks David. The wiki page I referenced is from http://cmake.org/Wiki/CMake/Testing_With_CTest. But I am not running ctest at VTK package, rather try to test cdash from my own source package build, I added the setup from your link to the CMakeLists.txt, but still failed at the same problem of

[CMake] Can multiple make commands be set in BUILD_COMMAND for ExternalProject_Add?

2012-07-04 Thread hce
Hi, In ExternalProject_Add, BUILD_COMMAND make works fine, but I need to add multiple make commands. In Linux command line I can type make make extra, but how can I set following BUILD_COMMAND for multiple make commands, it just not working? BUILD_COMMAND make make extra INSTALL_COMMAND make

Re: [CMake] Failed to submit ctest report to public.kitware.com CDash server

2012-07-04 Thread Rolf Eike Beer
hce wrote: Thanks David. The wiki page I referenced is from http://cmake.org/Wiki/CMake/Testing_With_CTest. But I am not running ctest at VTK package, rather try to test cdash from my own source package build, I added the setup from your link to the CMakeLists.txt, but still failed at the

Re: [CMake] Can multiple make commands be set in BUILD_COMMAND for ExternalProject_Add?

2012-07-04 Thread Michael Wild
On 07/04/2012 08:37 AM, hce wrote: Hi, In ExternalProject_Add, BUILD_COMMAND make works fine, but I need to add multiple make commands. In Linux command line I can type make make extra, but how can I set following BUILD_COMMAND for multiple make commands, it just not working?

[CMake] Install same files to multiple destination

2012-07-04 Thread Jérôme Reybert
Hi, I need to install the same files (actually a directory, it doesn't change anything) to several destination. Typically, I need to install the same header files to include and sys-include (no question about that, this is mandatory). I thought I could specify multiple DESTINATION flags in

Re: [CMake] Install same files to multiple destination

2012-07-04 Thread Petr Kmoch
Hi Jerome, you can use two install() commands. I use this often, and I see nothing wrong with it. As you said, if you want to avoid code duplication, you can make a macro for it. Petr On Wed, Jul 4, 2012 at 9:41 AM, Jérôme Reybert jreyb...@gmail.com wrote: Hi, I need to install the same

Re: [CMake] Failed to submit ctest report to public.kitware.com CDash server

2012-07-04 Thread hce
Rolf Eike Beer wrote Of course it does, because the drop site is not set. And CTest should really be tought to do something sensible then and not trying to contact the universe and then complain it doesn't listen. So both drop site

Re: [CMake] Downgrade CMake

2012-07-04 Thread vaibhavt
I am running through same issue. I am working on a project, which is like one year old. I don't what cmake version was used in it. I am having cmake-2.8.8 installed in my macbook. When I try to run the project I get following error - make: *** No rule to make target

[CMake] Relink external project

2012-07-04 Thread Evgeny Startsev
I continue adapt external_project-style build for my projects. I found out that my main project is not relinked, when external project on which it depends was changed. How can i do that? In my opinion importing all external projects libs is not good idea. cmake - 2.8.3. -- Powered by

Re: [CMake] Relink external project

2012-07-04 Thread Evgeny Startsev
And i would be grateful for links to open-source cmake-based projects, which use external_project module. On Wed, Jul 4, 2012 at 6:26 PM, Evgeny Startsev exbluesbrea...@gmail.comwrote: I continue adapt external_project-style build for my projects. I found out that my main project is not

Re: [CMake] Downgrade CMake

2012-07-04 Thread Kornel Benko
Am Mittwoch, 4. Juli 2012 um 05:05:48, schrieb vaibhavt tekamvaibha...@gmail.com I am running through same issue. I am working on a project, which is like one year old. I don't what cmake version was used in it. I am having cmake-2.8.8 installed in my macbook. When I try to run the

Re: [CMake] Can multiple make commands be set in BUILD_COMMAND for ExternalProject_Add?

2012-07-04 Thread David Cole
On Wed, Jul 4, 2012 at 3:35 AM, Michael Wild them...@gmail.com wrote: On 07/04/2012 08:37 AM, hce wrote: Hi, In ExternalProject_Add, BUILD_COMMAND make works fine, but I need to add multiple make commands. In Linux command line I can type make make extra, but how can I set following

[CMake] set ranlib/ar in toolchain file

2012-07-04 Thread Yngve Inntjore Levinsen
Hi, I try to set up my toolchain file for building Windows executables in a Linux environment. I started with the example from http://www.cmake.org/Wiki/CmakeMingw The only thing I noticed was that I needed to use ar and ranlib from MinGW as well, for creating the archives. I can do this by

[CMake] set ranlib/ar in toolchain file

2012-07-04 Thread Yngve Inntjore Levinsen
Hi, I try to set up my toolchain file for building Windows executables in a Linux environment. I started with the example from http://www.cmake.org/Wiki/CmakeMingw The only thing I noticed was that I needed to use ar and ranlib from MinGW as well, for creating the archives. I can do this by

[CMake] Paths with spaces - Visual Studio

2012-07-04 Thread Totte Karlsson
Hi, I had a problem with a source path containing spaces: SET (CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} /DEF:${CMAKE_CURRENT_SOURCE_DIR}/c_api_vs.def) where CMAKE_CURRENT_SOURCE_DIR had spaces. That casued problems in the visual studio project. I quoted the above as this:

Re: [CMake] Paths with spaces - Visual Studio

2012-07-04 Thread David Cole
The preferred way is simply to add the def file as a source file of your library or executable: add_library(my lib SHARED ${cxx_sources} ${CMAKE_CURRENT_SOURCE_DIR}/c_api_vs.def ) Then you don't need to modify the linker flags at all. HTH, David On Wed, Jul 4, 2012 at 1:03 PM,

Re: [CMake] Paths with spaces - Visual Studio

2012-07-04 Thread Totte Karlsson
On 7/4/2012 12:01 PM, David Cole wrote: The preferred way is simply to add the def file as a source file of your library or executable: add_library(my lib SHARED ${cxx_sources} ${CMAKE_CURRENT_SOURCE_DIR}/c_api_vs.def ) That makes sense. I'm using different def file for

Re: [CMake] set ranlib/ar in toolchain file

2012-07-04 Thread Eric Noulard
2012/7/4 Yngve Inntjore Levinsen yngve.levin...@gmail.com: Hi, I try to set up my toolchain file for building Windows executables in a Linux environment. I started with the example from http://www.cmake.org/Wiki/CmakeMingw The only thing I noticed was that I needed to use ar and ranlib from

[CMake] Using ${CMAKE_CFG_INTDIR} in ADD_TEST property WORKING_DIRECTORY

2012-07-04 Thread Guillaume Blanc
Some tests that I run need to access files (using a relative path) that are located in the same directory as the test executable itself. So I'm trying to use ADD_TEST property WORKING_DIRECTORY in the following way: ADD_TEST( NAME mytest WORKING_DIRECTORY

Re: [CMake] Can multiple make commands be set in BUILD_COMMAND for ExternalProject_Add?

2012-07-04 Thread hce
Thanks David and Michael. Cheers. Jupiter -- View this message in context: http://cmake.3232098.n2.nabble.com/Can-multiple-make-commands-be-set-in-BUILD-COMMAND-for-ExternalProject-Add-tp7580744p7580763.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com