[cmake-developers] Reduce output of install step

2014-02-17 Thread Kevin Burge
At Brad King's request, I am posting this here. I opened a feature request for reducing the output of the installation step. I don't think it is necessary (or even helpful) to output Up to date for targets that are up to date during the install step. There can only be three outcomes to the

[CMake] Bug 13251 - failure extracting symbolic links from tarball on Windows

2012-12-07 Thread Kevin Burge
I'm running into this problem with building an ExternalProject via a tarball: CMake Error: Problem with archive_write_header(): Can't create '\' I vote for just writing the original file, so at least the build can continue. 2.8.10.2 completely stops the build now upon this error. Thanks,

Re: [CMake] Bug 13251 - failure extracting symbolic links from tarball on Windows

2012-12-07 Thread Kevin Burge
could construct the tarball you want manually... one that avoids these errors until this is fixed. On Fri, Dec 7, 2012 at 9:21 AM, Kevin Burge kevin.bu...@systemware.comwrote: I'm running into this problem with building an ExternalProject via a tarball: CMake Error: Problem

[CMake] Setting intermediate directory permissions?

2012-01-23 Thread Kevin Burge
I want to force all the install permissions to be only owner accessible. I've done this everywhere using DIRECTORY_PERMISSIONS and FILE_PERMISSIONS. But, intermediate directories created by installing targets get some default permissions (in my case, 0755). I don't want to require the

[CMake] How not to copy a link

2012-01-06 Thread Kevin Burge
I'm trying to copy a file that is a link to another file, but I want the file to be copied, not the link itself. Historically, I've resorted to putting the real file as the source, and then using RENAME to rename the file, which puts more detail into my install commands than I'd like.

Re: [CMake] How not to copy a link

2012-01-06 Thread Kevin Burge
Thanks David. These are external libraries built outside of CMake, without CMake, not imported via any of the import capabilities of cmake, and that need to be installed alongside my CMake built files. I think I'm just going to do the install with the rename. Requires me to be more

Re: [CMake] Per-configuration include directories?

2011-12-29 Thread Kevin Burge
. I've had to use preprocessor conditions in my source files to turn certain ones on or off depending on my configuration. - Robert Dailey On Thu, Dec 29, 2011 at 10:48 AM, Kevin Burge kevin.bu...@systemware.com mailto:kevin.bu...@systemware.com wrote: I'm trying to get my large

[CMake] Per-configuration include directories?

2011-12-29 Thread Kevin Burge
I'm trying to get my large project (built of many sub-projects and external projects) to build correctly in Visual Studio, allowing the user to compile release/debug from the UI. One problem I have: I'm building an external library, and I've customized ExternalProject to keep

Re: [CMake] Per-configuration include directories?

2011-12-29 Thread Kevin Burge
I used the debug and optimized just as you said. Thank you! On 12/29/2011 2:14 PM, Robert Dailey wrote: It won't be necessary with link_directories because you can specify absolute paths to your LIB files in target_link_libraries(). You can also specify 'debug' or 'optimized' prior to the

[CMake] depend on install target?

2010-05-14 Thread Kevin Burge
I'd like to add a setup target that depends on install so I can just do make setup. Does anyone have a work around while we wait on http://public.kitware.com/Bug/view.php?id=8438? I researched source and online, and do not see anything. Thanks, Kevin

[CMake] install without symlinks?

2010-05-13 Thread Kevin Burge
We build and install third-party libraries with our software to be completely self-contained. We don't want any symlinks in the lib directory, but the install command will just install the symlink. Does the install command have an option to tell it to copy the actual file instead of the

Re: [CMake] how can I filter compiler warnings?

2010-05-10 Thread Kevin Burge
Atkins wrote: What exactly do you mean by filter? Do you want to suppress the warnings? On Fri, May 7, 2010 at 1:29 PM, Kevin Burge kevin.bu...@systemware.com mailto:kevin.bu...@systemware.com wrote: I need to be able to filter warnings out of the compilation output from specific files

Re: [CMake] how can I filter compiler warnings?

2010-05-10 Thread Kevin Burge
Solaris, AIX, Windows, Linux. On 05/10/2010 10:04 AM, Chuck Atkins wrote: What compiler / platform are you using? On Mon, May 10, 2010 at 9:53 AM, Kevin Burge kevin.bu...@systemware.com mailto:kevin.bu...@systemware.com wrote: Any ideas on how to do this kind of supression? I'm

Re: [CMake] how can I filter compiler warnings?

2010-05-10 Thread Kevin Burge
My apologies: Solaris (gcc 412), AIX (xlC 9), Windows (MSVC8 - i.e. Visual Studio 2005 w/ nmake), Linux (several different gcc releases) On 05/10/2010 10:04 AM, Chuck Atkins wrote: What compiler / platform are you using? On Mon, May 10, 2010 at 9:53 AM, Kevin Burge kevin.bu

Re: [CMake] how can I filter compiler warnings?

2010-05-10 Thread Kevin Burge
compiler warning. Do you see it on other platforms as well? On Mon, May 10, 2010 at 11:06 AM, Kevin Burge kevin.bu...@systemware.commailto:kevin.bu...@systemware.com wrote: My apologies: Solaris (gcc 412), AIX (xlC 9), Windows (MSVC8 - i.e. Visual Studio 2005 w/ nmake), Linux (several

Re: [CMake] how can I filter compiler warnings?

2010-05-10 Thread Kevin Burge
never did figure out the way to do this with cmake. I'd rather have cmake filter it if it can. Please let me know if there's a way to do this. Thank you, Kevin Burge ___ Powered by www.kitware.comhttp://www.kitware.com Visit other Kitware open-source

[CMake] how can I filter compiler warnings?

2010-05-07 Thread Kevin Burge
me know if there's a way to do this. Thank you, Kevin Burge ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

[CMake] How to run a script on an executable target post-build

2009-11-10 Thread Kevin Burge
I need to run a script on a C++ executable after it's linked that will modify the exe, before it's really done building. Is there a way to hook into the add_executable handling to do this? Thanks, Kevin ___ Powered by www.kitware.com Visit other

Re: [CMake] How to run a script on an executable target post-build

2009-11-10 Thread Kevin Burge
That worked! Thanks. Tyler Roscoe wrote: On Tue, Nov 10, 2009 at 08:36:10AM -0600, Kevin Burge wrote: I need to run a script on a C++ executable after it's linked that will modify the exe, before it's really done building. Is there a way to hook into the add_executable handling to do

[CMake] windows nmake build performance (specifically checking for built targets)

2009-11-10 Thread Kevin Burge
I have many built targets. When I do nmake install it takes a long time between each Built target... check (extremely long, compared to using make on a Unix box). Is there any way to speed this up? It's particularly slow on built C++ targets. It can take between 2-5 seconds before it moves

[CMake] Does 2.8.0 rc4 not have the ZERO_CHECK fix?

2009-10-29 Thread Kevin Burge
Thanks, Kevin ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this

[CMake] Unnecessary rebuilds on windows

2009-10-28 Thread Kevin Burge
I'm having a problem where I make some change to one of the CMakeLists.txt file in the root of a large tree of projects and on windows, when the configure/generate stage is done, it wipes out all the stamp files and directories created by add_custom_command, and basically rebuilds everything.

Re: [CMake] Unnecessary rebuilds on windows

2009-10-28 Thread Kevin Burge
I neglected to mention that the same cmake files do not do this on the same release of cmake on Linux, Solaris or AIX Kevin Burge wrote: I'm having a problem where I make some change to one of the CMakeLists.txt file in the root of a large tree of projects and on windows

Re: [CMake] Unnecessary rebuilds on windows

2009-10-28 Thread Kevin Burge
. A big thank you! Thanks for the quick response, too. Kevin Bill Hoffman wrote: Kevin Burge wrote: I neglected to mention that the same cmake files do not do this on the same release of cmake on Linux, Solaris or AIX I am pretty sure this is the same issue as the ZERO_CHECK problem