diff options
| author | ruki <[email protected]> | 2017-07-18 10:30:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-18 10:30:27 +0800 |
| commit | a4648568818b4b5b3598e6c7d5179b5d720a8c94 (patch) | |
| tree | b9a046c16f5075941763f0c11028d4403bd51fd4 /xmake/plugins | |
| parent | d0cead611d9f97a678d7c80a9354aee47a89e218 (diff) | |
mark project.load as deprecated and add add_deps api in option
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua index 43834fd6f..1807e9845 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x.lua @@ -166,15 +166,15 @@ function make(outputdir, vsinfo) config.set("mode", mode) config.set("arch", arch) - -- recheck project options - project.check(true) + -- clear project to reload and recheck it + project.clear() + + -- check project options + project.check() -- reload platform platform.load(config.plat()) - -- reload project - project.load() - -- remake configheader configheader.make() end |
