Re: [CMake] A strange problem when I "rm -rf *" under project/build.

2009-01-18 Thread Philip Lowman
On Mon, Jan 19, 2009 at 1:59 AM, Kermit Mei wrote: > Hello, I create my project in the directory ~/project. > > And then, I build it in ~/project/build as the following: > > cd ~/project > mkdir build > cd build > cmake -DCMAKE_INSTALL_PREFIX=/usr .. > make > sudo make install > > So far, everyth

[CMake] A strange problem when I "rm -rf *" under project/build.

2009-01-18 Thread Kermit Mei
Hello, I create my project in the directory ~/project. And then, I build it in ~/project/build as the following: cd ~/project mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make sudo make install So far, everything of my program works well. But, if I delete the files under ~/project

Re: [CMake] set_property() crashing

2009-01-18 Thread Bill Hoffman
Robert Dailey wrote: On Sat, Jan 17, 2009 at 10:24 PM, Robert Dailey > wrote: Hi, I'm running the following command several times in different child directories: set_property( DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES ${DC_INCLUDE

Re: [CMake] Recursively calling a macro: Is this possible in CMake?

2009-01-18 Thread Philip Lowman
On Sat, Jan 17, 2009 at 4:40 PM, Mike Jackson wrote: > The CMake files for Boost does something like that to get a list of > dependencies. If you are interested in that code it is in the Trunk of the > Boost SVN repository. If you need more detail let me know. I've been patching FindBoost in CVS

Re: [CMake] VS projects are rebuilt even if they don't change

2009-01-18 Thread David Cole
We already do copy_if_different on the .vcproj files. Sounds like it is missing for the .sln files. Could one of you interested parties file a bug report in the CMake bug tracker and assign it to me...? Thanks, David On Sun, Jan 18, 2009 at 6:31 AM, Eric Noulard wrote: > 2009/1/18 Hendrik Sattle

Re: [CMake] custom_install-target with DESTDIR

2009-01-18 Thread Timenkov Yuri
Actually, make install calls cmake in command mode to process cmake_install.cmake file in binary dir. You can move your doxy into separate component, and call cmake to process installation of particular component. Something like: INSTALL(DIRECTORY html/ DESTINATION /share/doc/${PROJECT_NAME}

Re: [CMake] Creating projects with no source files?

2009-01-18 Thread Eric Noulard
2009/1/18 Andreas Pakulat : > On 17.01.09 23:48:42, Robert Dailey wrote: >> Hi, >> >> I have a sort of interesting project design that I'm using that is really >> the source of this complication. Let me start by explaining my project >> structure. >> >> I have a set of reusable C++ libraries, each

Re: [CMake] VS projects are rebuilt even if they don't change

2009-01-18 Thread Eric Noulard
2009/1/18 Hendrik Sattler : > Am Sunday 18 January 2009 12:09:21 schrieb Eric Noulard: >> For supporting this CMake would have to elaborate a way to figure out >> what "no meaningful changes" in CMakeLists.txt means :=) > > Write temporary solution/project files and compare them? If I change MacOS

Re: [CMake] VS projects are rebuilt even if they don't change

2009-01-18 Thread Hendrik Sattler
Am Sunday 18 January 2009 12:09:21 schrieb Eric Noulard: > For supporting this CMake would have to elaborate a way to figure out > what "no meaningful changes" in CMakeLists.txt means :=) Write temporary solution/project files and compare them? If I change MacOS X stuff only, a visual studio buil

Re: [CMake] VS projects are rebuilt even if they don't change

2009-01-18 Thread Eric Noulard
2009/1/17 James Bigler : > > If the CMakeLists.txt files change but have no meaningful changes I expect > CMake to reconfigure but not actually write new sln or vcproj files. OK I think it's an interesting idea but... > I can't verify that this is a new thing with this version of CMake, but I > o

Re: [CMake] Creating projects with no source files?

2009-01-18 Thread Andreas Pakulat
On 17.01.09 23:48:42, Robert Dailey wrote: > Hi, > > I have a sort of interesting project design that I'm using that is really > the source of this complication. Let me start by explaining my project > structure. > > I have a set of reusable C++ libraries, each library can be thought of as a > co