diff options
author | Tobia Tesan | 2017-06-21 18:40:07 +0200 |
---|---|---|
committer | Tobia Tesan | 2017-06-24 11:05:29 +0200 |
commit | c19c10d548b2867bc4fd003fb29ac0017b2bd29d (patch) | |
tree | b2d24cdf5d8d7782594fbc40fe537e78937b1b30 /devtools/create_project/cmake.h | |
parent | c4ca32453357a6e75567fc75522a8c1c4756dd68 (diff) | |
download | scummvm-rg350-c19c10d548b2867bc4fd003fb29ac0017b2bd29d.tar.gz scummvm-rg350-c19c10d548b2867bc4fd003fb29ac0017b2bd29d.tar.bz2 scummvm-rg350-c19c10d548b2867bc4fd003fb29ac0017b2bd29d.zip |
CREATE_PROJECT: Add fix for nested ifs
This adds a quick fix so that any if blocks nested inside a if block
with an unmet condition are handled with push(false) even if their
condition is satisfied.
For example, without this modification, upon running create_project.exe
--msvc --disable-cloud --enable-libcurl the block inside
ifdef USE_CLOUD
ifdef USE_LIBCURL
...
endif
endif
in backends/module.mk would get evaluated since it was inside
USE_LIBCURL (=1), leading to unpredictable results.
Diffstat (limited to 'devtools/create_project/cmake.h')
0 files changed, 0 insertions, 0 deletions