Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-11 Thread Tony Bridges
Hi David, 0008165 - vs2005 midl chokes on CMAKE_INTDIR (also 2008) http://public.kitware.com/Bug/view.php?id=8165 I would love to see a fix for 0008165 in the next version. Each new version we pick up, I have to reapply Robert Lenhardt's patch and rebuild.

[CMake] MIDL quoting patch

2010-03-11 Thread Tony Bridges
I found the attached patch posted online (sorry, I don't recall the author's name). It corrects the problem with incorrect quoting of the CMAKE_INTDIR variable passed to the MIDL compiler. Would it be possible to incorporate this in the next binary distro ? Is there a more defined process

Re: [CMake] adding dependencies on generated files to source code files

2010-03-09 Thread Tony Bridges
Hi JD, Busy day, at a conference all day, and just got a chance to look into this. Unfortunately, no, the pretty much make sure part actually doesn't. With the add_dependency in place on the executable, to bind it to the external target, still, the external target is not generated before the

[CMake] adding dependencies on generated files to source code files

2010-03-08 Thread Tony Bridges
Hi All, I’m attempting to add dependencies for generated code into my builds. I have read the wiki article that J Decker posted to me in my last query http://www.vtk.org/Wiki/CMake_FAQ#How_can_I_add_a_dependency_to_a_source_file_which_is_generated_in_a_subdirectory.3F , but unfortunately, it

[CMake] How to override flags for a single target

2010-03-07 Thread Tony Bridges
Hello all, I'm hopeful that someone can point me in the correct direction to solve a problem I'm having setting up arguments into the resource compiler. I am attempting to add a custom rule to a CMakeLists.txt file to allow me to set a specific flag for one file in the SOURCES list. I'm

[CMake] CMAKE_RC_FLAGS has no effect

2010-03-06 Thread Tony Bridges
Setting a value into the CMAKE_RC_FLAGS field in the CMakeCache.txt file has no effect. I am using the Visual Studio 2005 generator, although I have seen this also reported against VS2009. I am using cmake 2.8 (from source with the midl quoting patch applied) Instead of obeying _RC_FLAGS,