[CMake] What is the VS10 .rule file generated for each ADD_CUSTOM_COMMAND?

2011-06-25 Thread Gabriel Petrovay
as Include attribute the relative path (from the current build dir) to the MAIN_DEPENDENCY. The rest CustomBuild elements (for the rest items in SRC_LIST) have as Include attribute the relative path (from the current build dir) to the SRC.rule file. Why is this? -- MSc Gabriel Petrovay Mobile: +41

Re: [CMake] What is the VS10 .rule file generated for each ADD_CUSTOM_COMMAND?

2011-06-25 Thread Gabriel Petrovay
(Using Cmake 2.8.4) On Sat, Jun 25, 2011 at 5:39 PM, Gabriel Petrovay gabipetro...@gmail.comwrote: Hi, 1. What is the rule file? 2. What is the logic by which this file is generated? I have a list of src files that need to be generated, each by an ADD_CUSTOM_COMMAND in a FOREACH loop

Re: [CMake] CMake command line arguments

2011-03-07 Thread Gabriel Petrovay
Thanks for the tips, Michael. We will do so, using project specific BUILD_TYPE and INSTALL_PREFIX. Gabriel On Mon, Mar 7, 2011 at 12:20 PM, Michael Hertling mhertl...@online.de wrote: On 03/07/2011 11:33 AM, Michael Hertling wrote: On 03/06/2011 12:12 PM, Gabriel Petrovay wrote: Hi

Re: [CMake] CMake command line arguments

2011-03-07 Thread Gabriel Petrovay
wrote: On 03/07/2011 12:37 PM, Gabriel Petrovay wrote: Thanks for the tips, Michael. We will do so, using project specific BUILD_TYPE and INSTALL_PREFIX. However, the downside of this approach is that your project's users should not refer to the well-known CMake variables CMAKE_BUILD_TYPE

Re: [CMake] Documentation for CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT missing?

2011-03-07 Thread Gabriel Petrovay
On Mon, Mar 7, 2011 at 7:03 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: It's an internal variable. May we use it? Or is it not intended for users to use it? -- MSc Gabriel Petrovay Mobile: +41(0)787978034 www.28msec.com ___ Powered

[CMake] CMake command line arguments

2011-03-06 Thread Gabriel Petrovay
-archive.com/cmake@cmake.org/msg09640.html Any solution how one can solve this? Reading the arguments passed to CMake would be one, but I find no documentation/example/google_result for this. Thanks! -- MSc Gabriel Petrovay Mobile: +41(0)787978034 www.28msec.com

Re: [CMake] CMake command line arguments

2011-03-06 Thread Gabriel Petrovay
7, 2011 at 2:41 AM, 徐亮 lxu4...@gmail.com wrote: From: Gabriel Petrovay gabipetro...@gmail.com Subject: [CMake] CMake command line arguments Hi, Is there a way to read the arguments that were passed to CMake from inside a CMakeLists.txt file? There is a problem that some generators (like

Re: [CMake] CMake command line arguments

2011-03-06 Thread Gabriel Petrovay
() 2011/3/7 Gabriel Petrovay gabipetro...@gmail.com Hi, I don't understand how to do that... The user who builds does not set any environment and does not provide any -D arguments. I want CMake to automatically configure variables like: CMAKE_BUILD_TYPE or CMAKE_INSTALL_PREFIX when

[CMake] Bug? NMake Makefiles generators defines different default values for certain variable

2011-03-06 Thread Gabriel Petrovay
by the CMake Unix Makefiles generators (CMAKE_BUILD_TYPE=Release). Because of this, when using NMake Makefiles generator one cannot find out from CMake if the user wanted a default CMake build or he explicitly started a Debug build. Thanks! Gabriel -- MSc Gabriel Petrovay Mobile: +41(0)787978034

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-09 Thread Gabriel Petrovay
/outputresource:zorba_simplestore.dll;#2 cd C:\Users\Gabriel\Work\28msec\zorba\builds\debug10 On Thu, Dec 9, 2010 at 5:10 AM, Bill Hoffman bill.hoff...@kitware.com wrote: On 12/8/2010 10:18 PM, Bill Hoffman wrote: On 12/8/2010 4:21 PM, Gabriel Petrovay wrote: Yes I did. That is why I am wrote this post

[CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Gabriel Petrovay
/pipermail/cmake/2010-December/041181.html Thanks! -- MSc Gabriel Petrovay Mobile: +41(0)787978034 www.28msec.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Gabriel Petrovay
, 2010 at 6:01 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 12/8/2010 10:36 AM, Gabriel Petrovay wrote: Hi, Does anyone have some experience with the NMake generator and with incremental linking. There seems to be a bug in CMake. Currently NMake generator seems to generate build files

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Gabriel Petrovay
On Wed, Dec 8, 2010 at 7:09 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 12/8/2010 12:53 PM, Gabriel Petrovay wrote: Hi Bill, First just by running cmake -E vs_link_exe CMake crashes on my machine (CMake 2.8.2, Win7): cmake.exe stopped working Close the program/Debug the program

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Gabriel Petrovay
Files\CMake 2.8\bin\cmake.exe -E cmake_progress_report C:\Users\Gabriel\Work\28msec\zorba\builds\debug10\CMakeFiles [ 97%] Built target updtestdriver On Wed, Dec 8, 2010 at 8:01 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 12/8/2010 1:49 PM, Gabriel Petrovay wrote: On Wed, Dec 8, 2010 at 7

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Gabriel Petrovay
see inline On Wed, Dec 8, 2010 at 8:44 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 12/8/2010 2:28 PM, Gabriel Petrovay wrote: What does Visual Studio Non-Incremental Link mean in the below output? In the link command below you can see the /INCREMENTAL /DUMMY options. I explicitly

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Gabriel Petrovay
linker complains that this is deprecated and still does a FULL link. This is normal behavior in Visual Studio for the first build since there was no previous full. Did you try modifying a file after it built and building again without cleaning? John -- MSc Gabriel Petrovay Mobile: +41(0

[CMake] CMake always perfoms a full link. INCREMENTAL linking is never working.

2010-12-04 Thread Gabriel Petrovay
the mt.exe command and allow incremental linking. For us, it takes at least 20 seconds to link the dll, so it would save us a lot of time. Thanks! -- MSc Gabriel Petrovay Mobile: +41(0)787978034 www.28msec.com ___ Powered by www.kitware.com Visit other

[CMake] How to find the DLL's a a required package searched with FIND_PACKAGE()?

2010-02-10 Thread Gabriel Petrovay
belonging to a required library; - reference the DLLs belonging to a required library during the build. I would expect that the FindLibXml2.cmake module would also provide a LIBXML2_DLL variable on Windows platforms. Thanks! Gabriel -- MSc Gabriel Petrovay Mobile: +41(0)787978034 www.28msec.com