Sorry for the spam, after posting a solution dawned on me. Here is
what I did for anyone else that might need a solution (or care to
propose a better one):
function( replace_empty_elements out_list in_list )
foreach( item IN LISTS in_list )
if( item STREQUAL "" )
set( item
Just to be clear, I can't use foreach():
foreach( IN LISTS )
I am doing a "yielded" approach to looping by using list( GET ) and
list( LENGTH ) in combination. So I would need the list() functions to
acknowledge empty elements.
On Tue, Aug 6, 2013 at 3:04 PM, Robert Dailey wrote:
> I've seen
I've seen that list(LENGTH) will ignore empty elements in a list. Example:
1;2;;4;5
Length will be 4 here instead of 5. I was trying to come up with a way
to modify the list as a string prior to iterating it to give empty
elements some dummy value, so that the above example would appear as:
1;2;
> Configuration of VTK with cmake-gui was ok. Don't know how it was fixed.
>
> Does it help if I send the output of the minimal test case?
>
I suspect deleting the cache in cmake-gui then running cmake-gui from
the windows shortcut will break it again.
BTW, I usually run cmake-gui from a visual s
On 8/6/2013 11:31 AM, Jorge Perez wrote:
Configuration of VTK with cmake-gui was ok. Don't know how it was fixed.
Does it help if I send the output of the minimal test case?
Sending the output if a case where it is failing will be helpful.
-Bill
--
Powered by www.kitware.com
Please keep me
Configuration of VTK with cmake-gui was ok. Don't know how it was fixed.
Does it help if I send the output of the minimal test case?
2013/8/6 Jorge Perez
> Sorry, I meant that since this situation (windows 8 + visual studio 2010
> profesional + SP1) I had always started cmake-gui from the acc
On 2013-07-29 19:02, Matthew Woehlke wrote:
Let's say¹ I have a code generation tool, 'gen', that I am naïvely using
to build a library, like so:
add_custom_command(
OUTPUT a.cpp b.cpp
COMMAND gen in.xml
DEPENDS in.xml
)
add_library(foo a.cpp b.cpp)
Now let's say that 'gen' is clever a
Sorry, I meant that since this situation (windows 8 + visual studio 2010
profesional + SP1) I had always started cmake-gui from the access at
desktop.
I suppose it is a problem in my environment but don't know what to fix.
The test you suggest did not fail!
Then I tried to configure VTK and cmak
On 8/6/2013 10:03 AM, Jorge Perez wrote:
Yes, cmake work as expected but cmake-gui does not, it does not identify
correctly the C compiler. Both started from de VS command prompt.
BTW, I didn't expect run cmake-gui from the command prompt.
What did you mean you did not expect run cmake-gui from
Yes, cmake work as expected but cmake-gui does not, it does not identify
correctly the C compiler. Both started from de VS command prompt.
BTW, I didn't expect run cmake-gui from the command prompt.
2013/8/6 Bill Hoffman
> On 8/6/2013 7:40 AM, Jorge Perez wrote:
>
>> I had problem with both, w
On 8/6/2013 1:59 AM, Rolf Eike Beer wrote:
And specifically HOW one can tell CMake to do this?
They are obviously not implemented in CMake for this compiler. So one needs to
do that.
The file to look at is Modules/Platform/Windows.cmake
It currently has this:
# for borland make long command
On 8/6/2013 7:40 AM, Jorge Perez wrote:
I had problem with both, without SP1 and with SP1 installed. I'm able to
configure with cmake but not with cmake-gui.
It must be an environment thing. You can use cmake and cmake-gui from
the exact same shell and one works and the other does not?
-Bill
On Tue, 6 Aug 2013 12:05:35 +0200, Emmanuel Blot said:
>What is the recommended way to specify compiler flags for Objective-C
>source files?
>
>Objective-C is not defined as a specific language in the default CMake
>modules (vs. C and C++ for exemple), so CMake does not seem to handle
>OBJC flags
SP1 for Visual Studio 2010 installed?
I got problems on my machine with that setup, too, if no SP1 for 2010 installed
;)
Greetings
Christoph
- Ursprüngliche Mail -
>
> On 2013-08-06 12:19, Jorge Perez wrote:
>
>
>
> I have the same problem with Win64 + Visual Studio 2010 professiona
I had problem with both, without SP1 and with SP1 installed. I'm able to
configure with cmake but not with cmake-gui.
2013/8/6 Christoph Cullmann
> SP1 for Visual Studio 2010 installed?
>
> I got problems on my machine with that setup, too, if no SP1 for 2010
> installed ;)
>
> Greetings
> Chri
On 2013-08-06 12:19, Jorge Perez wrote:
I have the same problem with Win64 + Visual Studio 2010 professional.
It works from command line running cmake from /Visual Studio Command
Prompt /but I'm not able to configure using the gui even if I start it
from the VS command prompt./
/
/That's how
I have the same problem with Win64 + Visual Studio 2010 professional.
It works from command line running cmake from *Visual Studio Command Prompt
*but I'm not able to configure using the gui even if I start it from the VS
command prompt.*
*
**
2013/8/5 Jochen Issing
> On 05.08.2013, at 17:42,
Hi,
What is the recommended way to specify compiler flags for Objective-C
source files?
Objective-C is not defined as a specific language in the default CMake
modules (vs. C and C++ for exemple), so CMake does not seem to handle
OBJC flags at all.
How to define OBJCFLAGS for a whole project, in
2013/8/6 Anil Gunturu :
> Thanks for the pointers. I got component based install working. However, I
> found the documentation pretty scarce, I had to find many things to trail
> and error.
>
> For example, CPACK_INSTALLED_DIRECTORIES takes directory name and component
> tuples, where as the docume
2013/8/6 Alan W. Irwin :
> I have a project that installs a CMake script which will be executed
> by users using cmake -P .
>
> Where is a reasonable place to install ? Currently I
> am thinking of
>
> /share//
>
> but I am a bit concerned that location might be a bad choice because
> it is comple
Hi Mathias,
The test timing results are stored in the 'testmeasurement' table which
contains for each test the 'WallTime' and 'CPUTime'.
For CDash related questions, please post to the cd...@public.kitware.com
mailing list.
Thanks,
Julien
Original Message
Subject: [CMake
21 matches
Mail list logo