Commit 3118bdcb authored by Marco Bubke's avatar Marco Bubke

ProjectExplorer: Convert empty macro to "KEY="

-DKEY is the same as #define KEY 1
-DKEY= is the same as #define KEY

Change-Id: I958a89d7b024999f1a623d4d309513ce342f6f8a
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <>
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
parent 434e895b
......@@ -109,6 +109,8 @@ QByteArray Macro::toKeyValue(const QByteArray &prefix) const
keyValue = prefix;
if (value.isEmpty())
keyValue += key + '=';
else if (value == "1")
keyValue += key;
keyValue += key + '=' + value;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment