CMake: Move all CMake Coin builds to be out-of-source

Cross-builds already were out-of-source.
Move non-cross-builds to out-of-source as well.

Fixes: QTBUG-82820
Fixes: QTBUG-96513
Change-Id: I5bef08f18a16e51fe2c501565699494b46546f84
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexandru Croitor 2022-05-20 15:09:16 +02:00 committed by Jörg Bornemann
parent f318c0e2d6
commit ae62d908a5
2 changed files with 10 additions and 2 deletions

View File

@ -1,9 +1,13 @@
type: Group
instructions:
- type: ChangeDirectory
directory: "{{.SourceDir}}"
- type: MakeDirectory
directory: .git
- type: MakeDirectory
directory: "{{.SourceDir}}_build"
- type: SetBuildDirectory
directory: "{{.SourceDir}}"
directory: "{{.SourceDir}}_build"
- type: ChangeDirectory
directory: "{{.BuildDir}}"

View File

@ -1,9 +1,13 @@
type: Group
instructions:
- type: ChangeDirectory
directory: "{{.SourceDir}}"
- type: MakeDirectory
directory: .git
- type: MakeDirectory
directory: "{{.SourceDir}}_build"
- type: SetBuildDirectory
directory: "{{.SourceDir}}"
directory: "{{.SourceDir}}_build"
- type: ChangeDirectory
directory: "{{.BuildDir}}"