[CMake] Top level directory with component install

2011-04-27 Thread Daniel Nelson
I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files for each component, but when I enable it I no longer have a top level directory in the tar. For example, if archive component install is off then the tar files contains files with paths like

Re: [CMake] Top level directory with component install

2011-04-27 Thread Daniel Nelson
On Wed, Apr 27, 2011 at 08:49:56PM +0200, Eric Noulard wrote: 2011/4/27 Daniel Nelson tor...@connect2.com: I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files for each component, but when I enable it I no longer have a top level directory in the tar. For example

Re: [CMake] can I create all/fast target?

2010-08-16 Thread Daniel Nelson
On Monday 16 August 2010 7:47:33 am naryniecki wrote: Hi, I only want add that when I run make t1/fast t2/fast from command line it works fine. Dnia 16 sierpnia 2010 15:33 naryniecki narynie...@o2.pl napisaƂ(a): Hi, for each target in Makefile generated by cmake there is another

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-09 Thread Daniel Nelson
On Thursday 08 April 2010 8:40:54 am David Cole wrote: On Thu, Apr 8, 2010 at 10:28 AM, Daniel Nelson tor...@connect2.com wrote: On Wednesday 07 April 2010 10:37:54 pm Michael Wild wrote: On 8. Apr, 2010, at 3:39 , Ryan Pavlik wrote: You might consider just setting the EXCLUDE_FROM_ALL

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-08 Thread Daniel Nelson
On Wednesday 07 April 2010 10:37:54 pm Michael Wild wrote: On 8. Apr, 2010, at 3:39 , Ryan Pavlik wrote: You might consider just setting the EXCLUDE_FROM_ALL property on specific targets, instead of an entire subdirectory. Ryan On Wed, Apr 7, 2010 at 8:33 PM, Daniel Nelson tor

[CMake] using install() with EXCLUDE_FROM_ALL

2010-04-07 Thread Daniel Nelson
If I use add_subdirectory with the EXCLUDE_FROM_ALL option, then any files whose install commands are in that directory are not installed as part of 'make install'. Is this on purpose, and if so is there a way I can install these files? -- Daniel ___

Re: [CMake] Removing default COMPILE_FLAGS

2009-12-01 Thread Daniel Nelson
I believe CMAKE_CXX_FLAGS is consulted each time an add_library() or add_executable() call is processed. So you should be able to remove the flag, add the singleton library/executable, and put the flag back. tyler This is the first thing I tried, however it doesn't seem to work. I seems

Re: [CMake] Removing default COMPILE_FLAGS

2009-12-01 Thread Daniel Nelson
I believe CMAKE_CXX_FLAGS is consulted each time an add_library() or add_executable() call is processed. So you should be able to remove the flag, add the singleton library/executable, and put the flag back. tyler This is the first thing I tried, however it doesn't seem to work. I

Re: [CMake] Mediawiki CMake syntax highlighting

2009-11-30 Thread Daniel Nelson
On Sunday 29 November 2009 11:14:03 am David Doria wrote: I was wondering if there was any talk of adding cmake script support to mediawiki's source lang=X capability. It looks terrible if you just use text: http://www.cmake.org/Wiki/Paraview_Make_building_Paraview_plugin_optional And to

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-16 Thread Daniel Nelson
On Thursday 16 April 2009 8:29:11 am Piotr Dobrogost wrote: Hi I'm trying to use cmake 2.6-patch 3 on Vista x64 with VS2008 to build curl. After setting VC variables with vcvarsall.bat from VC's folder and after this command cmake -G NMake Makefiles ..\curl I'm getting this error CMake

Re: [CMake] find_package question

2009-04-11 Thread Daniel Nelson
On Friday 10 April 2009 2:59:11 pm Alexander Neundorf wrote: On Friday 10 April 2009, Robert Dailey wrote: I'm reading the guidelines for find package modules here: http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMakevi ew =markup No where in here do I see any mention

Re: [CMake] CMAKE_MODULE_PATH Question

2009-04-11 Thread Daniel Nelson
On Thursday 09 April 2009 11:58:55 am Robert Dailey wrote: Sorry, the missing $ was a typo. The problem was that I was doing: include( foo.cmake ) I should have been doing: include( foo ) Sorry for the mixup :) Thanks for the help guys! This was a silly screwup on my part :P Should

Re: [CMake] set_property on sources causing extra files to be rebuilt

2009-03-24 Thread Daniel Nelson
On Tuesday 24 March 2009 3:16:27 pm Alexander Neundorf wrote: On Tuesday 24 March 2009, Alexander Neundorf wrote: On Friday 20 March 2009, Daniel Nelson wrote: It looks like the projects flags.make is updated every time any compile flag or definition changes, and every object file

Re: [CMake] set_property on sources causing extra fi les to be rebuilt

2009-03-24 Thread Daniel Nelson
On Tuesday 24 March 2009 4:46:29 pm Clinton Stimpson wrote: Daniel Nelson wrote: On Tuesday 24 March 2009 3:16:27 pm Alexander Neundorf wrote: On Tuesday 24 March 2009, Alexander Neundorf wrote: On Friday 20 March 2009, Daniel Nelson wrote: It looks like the projects flags.make is updated

Re: [CMake] set_property on sources causing extra files to be rebuilt

2009-03-20 Thread Daniel Nelson
It looks like the projects flags.make is updated every time any compile flag or definition changes, and every object file in the project depends on flags.make. In the case of properties set using set_property() the only part of the flags.make that changes is the comment, so maybe it would be

[CMake] set_property on sources causing extra files to be rebuilt

2009-03-19 Thread Daniel Nelson
I am using set_property to add extra compile flags to source files that are built using a precompiled header, but whenever a source file is added or removed it causes every file in the executable to be rebuilt. I have come up with a CMakeList that shows the issue. #

Re: [CMake] Why does dependency scanning in version 2.6 seem so slow?

2008-12-06 Thread Daniel Nelson
Senanu Pearson wrote: Is there a way to speed up the dependency scan in version 2.6? As my cmake projects became larger I noticed that dependency scanning became a much larger percentage of my build time. My project used a pre-compiled header, which included parts of boost, Qt, and stl.

Re: [CMake] How to make ctest not buffer its output?

2008-12-04 Thread Daniel Nelson
Alexander Neundorf wrote: On Thursday 04 December 2008, Hugo Heden wrote: Good day all, I use ctest --build-and-test to do some stuff that takes a long time. It seems that ctest buffers the output of its subcommands so that nothing is written (to the terminal) until at the end. This is a

[CMake] Can't add empty directories when using CPack

2008-11-21 Thread Daniel Nelson
Is it possible to add empty directories with cpack? If my CMakeLists.txt file is: project(empty-dir) set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}) file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/foo/bar/baz) install(DIRECTORY ${CMAKE_BINARY_DIR}/foo DESTINATION cpack-test) install(FILES CMakeLists.txt