项目架构重构,代码整理
This commit is contained in:
+3
-8
@@ -61,14 +61,9 @@ foreach ($Candidate in $WindresCandidates) {
|
||||
|
||||
New-Item -ItemType Directory -Force -Path $BuildDir | Out-Null
|
||||
|
||||
$Sources = @(
|
||||
(Join-Path $SourceDir "stdafx.cpp"),
|
||||
(Join-Path $SourceDir "Tetris.cpp"),
|
||||
(Join-Path $SourceDir "TetrisLogic.cpp"),
|
||||
(Join-Path $SourceDir "TetrisLogicInnovation.cpp"),
|
||||
(Join-Path $SourceDir "TetrisRogue.cpp"),
|
||||
(Join-Path $SourceDir "TetrisRender.cpp")
|
||||
)
|
||||
$Sources = Get-ChildItem -Path $SourceDir -Recurse -Filter "*.cpp" |
|
||||
Sort-Object FullName |
|
||||
Select-Object -ExpandProperty FullName
|
||||
|
||||
$LinkInputs = @()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user