init: add a command to source the (expected) venv
This commit is contained in:
parent
9b17736d76
commit
ae4f48dcbc
2
init.py
2
init.py
@ -243,7 +243,7 @@ if __name__ == '__main__':
|
||||
prb = os.path.join(profile_dir, conan_build_profile)
|
||||
|
||||
cmds = [
|
||||
"[[ -v VIRTUAL_ENV ]]",
|
||||
f"{{ [[ -v VIRTUAL_ENV ]] || source {source_dir}/venv/bin/activate; }}",
|
||||
f"conan install {source_dir} -pr:h {prh} -pr:b {prb} --build=missing",
|
||||
f"conan install {source_dir} -pr:h {prh} -pr:b {prb} --build=missing -g deploy -if deps/",
|
||||
f"cmake {source_dir} {' '.join(accumulated)}",
|
||||
|
Loading…
Reference in New Issue
Block a user