On Thursday, 24. April 2014, 17:34:40, Matthew Woehlke wrote:
On 2014-04-24 04:53, Johannes Zarl wrote:
On Wednesday, 23. April 2014, 18:54:39, Matthew Woehlke wrote:
if ( ${arg} STREQUAL TOTO)
set( TOTO evil)
You sure? When I checked, this did not work.
Are *you* sure? :-)
I'm always happy to learn something new. How would you manage to make
the following if statement trigger?
set( arg value)
if ( ${arg} STREQUAL TOTO )
message ( arg equals 'TOTO', and arg equals 'value' )
endif()
By having a variable named value that you didn't know about...
This
Through trial and error, I've found that I can do the following to
escape a variable in a custom command.
ADD_CUSTOM_COMMAND(
...
COMMAND bash -c 'for i in ${FILES}\; do cpp -P -CC -DDPI_EXTERN $$i
${FILEEXTERN}.tmp \; done'
...
)
Is this the proper way to escape a variable that needs to make
foreach( file ${files} )
ADD_CUSTOM_COMMAND(
...
COMMAND cpp -P -CC -DDPI_EXTERN ${file}
${FILEEXTERN}.tmp \; done'
)
On Mon, Apr 28, 2014 at 9:05 AM, j s j.s4...@gmail.com wrote:
Through trial and error, I've found that I can do the following to
escape a variable in a custom command.
On 2014-04-28 04:58, Johannes Zarl wrote:
I'm always happy to learn something new. How would you manage to make the
following if statement trigger?
set( arg value)
if ( ${arg} STREQUAL TOTO )
message ( arg equals 'TOTO', and arg equals 'value' )
endif()
Exactly how you would expect:
set(
The i
On Mon, Apr 28, 2014 at 11:44 AM, J Decker d3c...@gmail.com wrote:
foreach( file ${files} )
ADD_CUSTOM_COMMAND(
...
COMMAND cpp -P -CC -DDPI_EXTERN ${file}
${FILEEXTERN}.tmp \; done'
)
Unfortunately that doesn't work for me since all of the individual
files are writing to the same
On 2014-04-23 14:18, Glenn Coombs wrote:
Are the [Project name]_SOURCE_DIR variables being automatically stored in
the cmake cache?
Running 'grep _SOURCE_DIR CMakeCache.txt' would answer this question.
(And yes, they are.)
--
Matthew
--
Powered by www.kitware.com
Please keep messages
the commands are done sequentially... or you could invent fictional target
names based on the filename, and chain current to prior
(I guess if you used -j 4 or something the commands might not be sequential)
is there a way to force 1 job?
On Mon, Apr 28, 2014 at 10:43 AM, j s j.s4...@gmail.com
The following issue has been SUBMITTED.
==
http://public.kitware.com/Bug/view.php?id=14899
==
Reported By:Kiron
Assigned To:
On 04/26/2014 08:55 AM, Stephen Kelly wrote:
Stephen Kelly wrote:
Could this be because it is old clang which did not define __clang__?
Apart from the misidentification, I don't understand how the
WriteCompilerDetectionHeader test could have a different result than the
compiler
-Original Message-
From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On
Behalf Of Brad King
Sent: Wednesday, April 23, 2014 11:06 AM
To: cmake-developers@cmake.org
Subject: Re: [cmake-developers] CMP0043 warnings everywhere
On 04/23/2014 12:57 PM, James Bigler
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 8723298cd6c9874ead0462483b866c5988351263 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.
The branch, next has been updated
via 881bf7ffe1c85109bde5b28916ed6a802c47a850 (commit)
via
20140428)
+set(CMake_VERSION_PATCH 20140429)
#set(CMake_VERSION_RC 1)
---
Summary of changes:
Source/CMakeVersion.cmake |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
14 matches
Mail list logo