Re: [CMake] How to submit patches?

2012-02-06 Thread Rolf Eike Beer
Am Montag, 6. Februar 2012, 19:12:27 schrieb Michael Pechner: > Is this the correct forum? cmake-develop...@cmake.org would be the right place. Or open a bug report at http://cmake.org/Bug and attach it there. > What format do you want the patch in? git format-patch > My changes are in 2.8.4.

[CMake] Default Generator to use

2012-02-06 Thread Sarnath K - ERS, HCLTech
Hello Friends, How do I specify the default generator that CMAKE should use when invoked without the "-G" option? I am on Windows. I saw an old thread on this. But I am not sure if any support was added later on. Is there a REGISTRY entry in Windows that we can set to make so that CMAKE can ch

[CMake] How to submit patches?

2012-02-06 Thread Michael Pechner
Is this the correct forum? What format do you want the patch in? My changes are in 2.8.4. Will that be acceptable? Or do you require I move my changes to 2.8.7 then generate the patch? -- Michael Pechner NE6RD - Amateur Extra mi...@mikey.com -- Powered by www.kitware.com Visit other Kitware ope

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

2012-02-06 Thread David Thompson
Replies requested. Short replies only. Read on. Just a short reply with bug numbers or links to the bugs is all we need here. ... http://public.kitware.com/Bug/view.php?id=7867 (have CTest report compiler type/version) David -- Powered by www.kitware.com Visit other Kitware open-s

Re: [CMake] Making a variable a dependency...

2012-02-06 Thread Michael Hertling
On 02/06/2012 10:56 PM, Alexander Neundorf wrote: > On Saturday 04 February 2012, Oliver Smith wrote: >> My CMakeLists uses the Subversion repository information in a couple of >> places (it configures a file revision.h and it uses it for the CPack >> package name). >> >> The problem is that this v

Re: [CMake] COMPILE_FLAGS property that appends instead of replaces

2012-02-06 Thread Robert Dailey
Thanks. This seems to work: set_property( TARGET foo APPEND_STRING PROPERTY COMPILE_FLAGS "/ZI " ) set_property( TARGET foo APPEND_STRING PROPERTY COMPILE_FLAGS "/W4 " ) Just make sure you have a space at the end of each one, so that when the strings are appended, there is a space between each

Re: [CMake] COMPILE_FLAGS property that appends instead of replaces

2012-02-06 Thread aaron . meadows
I believe that is the defined behavior. Usually, people would use add_definitions() to add the flags before creating the target. If you have one target per subdirectory, you don't have to worry about removing them afterwards: CMakeLists.txt: add_definitions(/foo) add_subdirectory(b

[CMake] COMPILE_FLAGS property that appends instead of replaces

2012-02-06 Thread Robert Dailey
I would like to set the COMPILE_FLAGS property multiple times on the same target through set_target_properties(), however only the last call seems to persist. Previous flags set get overridden. Is this the correct behavior? If so, is there a way to make this property append instead of replace on th

Re: [CMake] Making a variable a dependency...

2012-02-06 Thread Alexander Neundorf
On Saturday 04 February 2012, Oliver Smith wrote: > My CMakeLists uses the Subversion repository information in a couple of > places (it configures a file revision.h and it uses it for the CPack > package name). > > The problem is that this variable is cached and retained until the cache > is rebu

Re: [CMake] Program Database for Edit & Continue support

2012-02-06 Thread aaron . meadows
If you supply add_definitions(/ZI) it will override the /Zi default and provide you with the edit and continue setting. I verified the behavior with this cmakelists.txt: With /ZI: cmake_minimum_required (VERSION 2.8) project(TestProj CXX) file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp

[CMake] Program Database for Edit & Continue support

2012-02-06 Thread Robert Dailey
In Visual Studio 2008, CMake generates projects to use the /Zi option, which is just "Program Database" in visual studio. The /ZI option enables "Program Database with Edit & Continue", allowing the edit & continue functionality to be used. Is there a built in feature to change the debug informatio

Re: [CMake] CPACK generated DEB package can not create directories

2012-02-06 Thread Eric Noulard
2012/2/6 Ralf Lange : > The CMake version is 2.8.2. > The system is Debian 6.0.4 (squeez). > The kernel is 2.6.32-5-amd64. > The Desktop is Gnome 2.30.2. Could you try, cmake 2.8.7 (may be this fix http://www.cmake.org/Bug/view.php?id=10325 could solve your problem) and/or run cpack in fakeroot l

Re: [CMake] CPACK generated DEB package can not create directories

2012-02-06 Thread Ralf Lange
The CMake version is 2.8.2. The system is Debian 6.0.4 (squeez). The kernel is 2.6.32-5-amd64. The Desktop is Gnome 2.30.2. CPack generates the deb package. Than I open the package using GDebi Packet Installer. The installer ask for the superuser password and ends without installation. The error m

[CMake] add_test( WORKING_DIRECTORY ) does not actua

2012-02-06 Thread Massaro Alessio
Hi there The following message in cmTest.cxx doesn't seem to be accurate for Visual Studio 9. 200   cm->DefineProperty 201 ("WORKING_DIRECTORY", cmProperty::TEST, 202  "The directory from which the test executable will be called.", 203   "If this is not set it is called from the 

Re: [CMake] CPACK generated DEB package can not create directories

2012-02-06 Thread David Cole
On Mon, Feb 6, 2012 at 5:44 AM, Ralf Lange wrote: > Hi, > I use CPACK to generate RPM and DEB packages for my software. The RPM > package wirks fine but the DEB package can not create the neccessary > directories in the usr/lib directory. When I create the direcories by hand, > it works. > Who can

Re: [CMake] CPACK generated DEB package can not create directories

2012-02-06 Thread Eric Noulard
2012/2/6 Ralf Lange : > Hi, > I use CPACK to generate RPM and DEB packages for my software. The RPM > package wirks fine but the DEB package can not create the neccessary > directories in the usr/lib directory. When I create the direcories by hand, > it works. > Who can help to fix this problem? M

[CMake] CPACK generated DEB package can not create directories

2012-02-06 Thread Ralf Lange
Hi, I use CPACK to generate RPM and DEB packages for my software. The RPM package wirks fine but the DEB package can not create the neccessary directories in the usr/lib directory. When I create the direcories by hand, it works. Who can help to fix this problem? Thanks Ralf -- Powered by www.ki