Only create build if it doesn't yet exist.
This commit is contained in:
parent
bfd8331121
commit
e1352808c9
1 changed files with 2 additions and 1 deletions
|
@ -1126,7 +1126,8 @@ class Make(BuildSystem):
|
||||||
run_with_build_fixers(session, ["qmake"], fixers)
|
run_with_build_fixers(session, ["qmake"], fixers)
|
||||||
|
|
||||||
if not makefile_exists() and session.exists('CMakeLists.txt'):
|
if not makefile_exists() and session.exists('CMakeLists.txt'):
|
||||||
session.mkdir('build')
|
if not session.exists("build"):
|
||||||
|
session.mkdir('build')
|
||||||
run_with_build_fixers(session, ["cmake", '..'], fixers, cwd='build')
|
run_with_build_fixers(session, ["cmake", '..'], fixers, cwd='build')
|
||||||
|
|
||||||
def build(self, session, resolver, fixers):
|
def build(self, session, resolver, fixers):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue