mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 10:20:31 +00:00
Corrected project exclusions
This commit is contained in:
parent
e546cae95d
commit
ea1e42a65e
32
build.fsx
32
build.fsx
|
@ -77,6 +77,24 @@ let (|Fsproj|Csproj|Vbproj|) (projFileName:string) =
|
||||||
| f when f.EndsWith "vbproj" -> Vbproj
|
| f when f.EndsWith "vbproj" -> Vbproj
|
||||||
| _ -> failwith (sprintf "Project file %s not supported. Unknown project type." projFileName)
|
| _ -> failwith (sprintf "Project file %s not supported. Unknown project type." projFileName)
|
||||||
|
|
||||||
|
|
||||||
|
let activeProjects =
|
||||||
|
let xamarinFilter f =
|
||||||
|
if isXamarinPlatform then
|
||||||
|
f
|
||||||
|
else
|
||||||
|
f
|
||||||
|
-- "**/OpenTK.Android.csproj"
|
||||||
|
-- "**/OpenTK.iOS.csproj"
|
||||||
|
|
||||||
|
!! "src/**/*.??proj"
|
||||||
|
-- "**/OpenTK.GLWidget.csproj"
|
||||||
|
|> xamarinFilter
|
||||||
|
|
||||||
|
do
|
||||||
|
activeProjects
|
||||||
|
|> Seq.iter (tracefn "item: %s")
|
||||||
|
|
||||||
// Generate assembly info files with the right version & up-to-date information
|
// Generate assembly info files with the right version & up-to-date information
|
||||||
Target "AssemblyInfo" (fun _ ->
|
Target "AssemblyInfo" (fun _ ->
|
||||||
let getAssemblyInfoAttributes projectName =
|
let getAssemblyInfoAttributes projectName =
|
||||||
|
@ -110,7 +128,7 @@ Target "AssemblyInfo" (fun _ ->
|
||||||
// But keeps a subdirectory structure for each project in the
|
// But keeps a subdirectory structure for each project in the
|
||||||
// src folder to support multiple project outputs
|
// src folder to support multiple project outputs
|
||||||
Target "CopyBinaries" (fun _ ->
|
Target "CopyBinaries" (fun _ ->
|
||||||
!! "src/**/*.??proj"
|
activeProjects
|
||||||
|> Seq.map (fun f -> ((System.IO.Path.GetDirectoryName f) @@ "bin/Release", "bin" @@ (System.IO.Path.GetFileNameWithoutExtension f)))
|
|> Seq.map (fun f -> ((System.IO.Path.GetDirectoryName f) @@ "bin/Release", "bin" @@ (System.IO.Path.GetFileNameWithoutExtension f)))
|
||||||
|> Seq.iter (fun (fromDir, toDir) -> CopyDir toDir fromDir (fun _ -> true))
|
|> Seq.iter (fun (fromDir, toDir) -> CopyDir toDir fromDir (fun _ -> true))
|
||||||
)
|
)
|
||||||
|
@ -126,17 +144,7 @@ Target "Clean" (fun _ ->
|
||||||
// Build library & test project
|
// Build library & test project
|
||||||
|
|
||||||
Target "Build" (fun _ ->
|
Target "Build" (fun _ ->
|
||||||
let xamarinFilter f =
|
activeProjects
|
||||||
if isXamarinPlatform then
|
|
||||||
f
|
|
||||||
else
|
|
||||||
f
|
|
||||||
-- "**/OpenTK.Android.csproj"
|
|
||||||
-- "**/OpenTK.iOS.csproj"
|
|
||||||
|
|
||||||
!! "src/**/*.??proj"
|
|
||||||
-- "**/OpenTK.GLWidget.csproj"
|
|
||||||
|> xamarinFilter
|
|
||||||
|> MSBuildRelease "" "Rebuild"
|
|> MSBuildRelease "" "Rebuild"
|
||||||
|> ignore
|
|> ignore
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
type project
|
type file
|
||||||
id OpenTK.GLControl
|
id OpenTK.GLControl
|
||||||
owners
|
owners
|
||||||
opentk thefiddler
|
opentk thefiddler
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
type project
|
type file
|
||||||
id OpenTK.GLWidget
|
id OpenTK.GLWidget
|
||||||
owners
|
owners
|
||||||
opentk thefiddler
|
opentk thefiddler
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
type project
|
type file
|
||||||
id OpenTK.Android
|
id OpenTK.Android
|
||||||
owners
|
owners
|
||||||
opentk thefiddler
|
opentk thefiddler
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
type project
|
type file
|
||||||
id OpenTK
|
id OpenTK
|
||||||
owners
|
owners
|
||||||
opentk thefiddler
|
opentk thefiddler
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
type project
|
type file
|
||||||
id OpenTK.iOS
|
id OpenTK.iOS
|
||||||
owners
|
owners
|
||||||
opentk thefiddler
|
opentk thefiddler
|
||||||
|
|
Loading…
Reference in a new issue