akeLists.txt:9
when parsing string
In macro: bla bla \&
Invalid escape sequence \&
Call Stack (most recent call first):
CMakeLists.txt:15 (m)
-- Configuring incomplete, errors occurred!
Regards,
Felix
-Ursprüngliche Nachricht-
Von: stephan.sz...@sony.com [mailto:steph
Hi,
today i ran into an error with escape characters in macros. Is this a known
issue? Is this by design? How can I workaround?
Code:
function(f STRING)
message(STATUS ${STRING})
endfunction()
macro(m STRING)
message(STATUS ${STRING})
endmacro()
set(CONTENT "bla bla \/\/")
list) also shows this warning.
-Ursprüngliche Nachricht-
Von: Robert Maynard [mailto:robert.mayn...@kitware.com]
Gesendet: Montag, 4. Februar 2019 18:16
An: Ramold, Felix
Cc: cmake@cmake.org
Betreff: Re: [CMake] --warn-uninitialized works in only first configuration
This generally occurs
Hi,
I configure a project with --warn-uninitialized and get a lot of warnings. I
successfully run the build.
Then I change any CMakeLists.txt file. I run the build again. CMake checks its
dependencies and reconfigures before the actual build.
Those warnings (or at least those in the edited
We created multiple additional functions for CMake. They became quite a lot,
and we need to (unit) test them.
There are simple ones, that are only variable bases like:
function(join_list LIST GLUE)
These can be tested with a custom CMake Script, that checks the results. For
this we also wrote a