Sorry, I meant to keep this on the mailing list. Hit reply without
checking.
On Thu, Jun 5, 2014 at 1:33 PM, Andrew Fuller
wrote:
> A non-trivial overhaul of the graphviz option implementation will
>> be needed to make it useful on projects using modern features.
>>
>
> Okay, I understand.
>
>
On 06/05/2014 02:08 PM, Andrew Fuller wrote:
> After more investigation it appears --graphviz does handle generator
> expressions ... partially. In particular it seems to get tripped
> up with $
[snip]
> What is the proper way to generate the graph for a particular
> configuration?
The graph
After more investigation it appears --graphviz does handle generator
expressions ... partially. In particular it seems to get tripped up with
$
Example:
set( _test
one
two
)
target_link_libraries( my_target PRIVATE
$<$:$> )
The graph generated on Linux shows a dependency on 'two' but not o
I'm trying out the --graphviz option to visualize link dependencies -- very
useful!
It seems to me that it does not understand generator expressions. We make
use of generator expressions to bring in platform-specific libraries and
when I generate the graphviz on Linux I'm still seeing Windows lib
Hi,
When both --label-regex and --label-exclude is used to filter tests in CTest
the result is always 'No tests were found!!!'. In my opinion this is caused by
a small error in ./Source/CTest/cmCTestTestHandler.cxx line 1530 (CMake 2.8.12)
or line 1561 (CMake 3.0.0-rc3) where the statement is:
On 06/05/2014 10:46 AM, abid rahman wrote:
For example, I want to check if a string is either "abc" or "xyz". How
can I check it?
IF(string1 MATCHES "abc\|xyz" doesn't work?
For the exact string (not substring):
if(string1 MATCHES "^(abc|xyz)$")
Or without regex:
if(string1 STREQUAL abc
Hello,
How can I match a string to any of two strings?
For example, I want to check if a string is either "abc" or "xyz". How can
I check it?
IF(string1 MATCHES "abc\|xyz" doesn't work?
Regards
Abid K.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Hi!
You can do something like:
---
set(my_list alpha beta gamma)
message(STATUS "my_list: ${my_list}")
# This converts a list into a newline-separated string.
set(res "")
foreach(x ${my_list})
set(res "${res}${x}\n")
endforeach()
message(STATUS "res:\n${res}")
---