diff options
| author | ruki <[email protected]> | 2015-06-04 22:33:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-04 22:33:47 +0800 |
| commit | f9cecfd11c958122bb6d619069593b91333bdf6f (patch) | |
| tree | 058c1e2a381aa9a647b78e60c1f7abcdc6d37a35 /xmake/scripts/base | |
| parent | 44fd11396d7b073e6b5227894c5db02b3585302f (diff) | |
rebuild it if the cached configure was cleaned
Diffstat (limited to 'xmake/scripts/base')
| -rw-r--r-- | xmake/scripts/base/config.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/scripts/base/config.lua b/xmake/scripts/base/config.lua index 41db332c4..8ec455de3 100644 --- a/xmake/scripts/base/config.lua +++ b/xmake/scripts/base/config.lua @@ -378,6 +378,11 @@ function config.loadxconf() config._CONFIGS = config._CONFIGS or {} local configs = config._CONFIGS + -- mark as "rebuild" if clean the cached configure + if options.clean then + configs.__rebuild = true + end + -- init targets configs._TARGET = configs._TARGET or {} if name ~= "all" then |
