Hello,

finally, I'm subscribed too! :)

First mail, first question: imagine I have a string made by a newline 
character only, ie the line
message(STATUS "myvar: \"${myvar}\"")
would output
-- Found ...
-- myvar: "
"
-- Found ...
Doing a
STRING(REGEX REPLACE "\\n?\\r?" "" myvar "${myvar}")
have the result to make cmake output that the regexp matches an empty string.

Do you have any precious suggestion about sometimg that I'm missing?

Regards,

-- 
Pino Toscano

Attachment: pgp1mZ7o4K8Zx.pgp
Description: PGP signature

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to