[CMake] Getting file list from build directory

2011-06-25 Thread Dan Furtney
I have a CMakeLists.txt file file that creates an archive from several files. It includes a custom command that dumps the list of objects from the archive using ar –x. I need to link these objects with another custom command. What is the best way to get the list of objects into the link line? C

Re: [CMake] tests running out of order on cmake

2011-06-25 Thread j s
Unfortunately the problem came back. I there a command line option to fix this out of order execution feature. Juan On Sat, Jun 25, 2011 at 1:30 PM, j s wrote: > I was able to update the cmake dmg from the website, and now my tests > are running in the proper order. > > On Sat, Jun 25, 2011 at

Re: [CMake] tests running out of order on cmake

2011-06-25 Thread j s
I was able to update the cmake dmg from the website, and now my tests are running in the proper order. On Sat, Jun 25, 2011 at 1:23 PM, j s wrote: > How do I tell the macports version of cmake 2.8.1  on the mac to run > the tests in exactly the order they were originally specified?  I'm in > the

[CMake] tests running out of order on cmake

2011-06-25 Thread j s
How do I tell the macports version of cmake 2.8.1 on the mac to run the tests in exactly the order they were originally specified? I'm in the process of updating macports right now to see if it goes back to the sequential default in later versions? man ctest reveals --schedule-random, but no seq

Re: [CMake] What is the VS10 .rule file generated for each ADD_CUSTOM_COMMAND?

2011-06-25 Thread Gabriel Petrovay
(Using Cmake 2.8.4) On Sat, Jun 25, 2011 at 5:39 PM, Gabriel Petrovay wrote: > Hi, > > 1. What is the rule file? > 2. What is the logic by which this file is generated? > > I have a list of src files that need to be generated, each by an > ADD_CUSTOM_COMMAND > > in a FOREACH loop: > > FOREACH(SRC

[CMake] What is the VS10 .rule file generated for each ADD_CUSTOM_COMMAND?

2011-06-25 Thread Gabriel Petrovay
Hi, 1. What is the rule file? 2. What is the logic by which this file is generated? I have a list of src files that need to be generated, each by an ADD_CUSTOM_COMMAND in a FOREACH loop: FOREACH(SRC ${SRC_LIST}) // no code here ADD_CUSTOM_COMMAND(...) // no code here ENDFOREACH(SRC) And a

Re: [CMake] Enabling C99 in CMake

2011-06-25 Thread Rolf Eike Beer
Am Samstag, 25. Juni 2011, 08:30:21 schrieb Michael Hertling: > On 06/23/2011 06:20 PM, Jed Brown wrote: > > On Thu, Jun 23, 2011 at 17:50, Michael Hertling wrote: > >> You need to use a C99 compiler for your project > > > > This is already a problem. C99 introduces new keywords (e.g. restrict)