| f when f.EndsWith "vbproj" -> Vbproj
| _ -> 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
Target "AssemblyInfo" (fun _ ->
let getAssemblyInfoAttributes projectName =
// But keeps a subdirectory structure for each project in the
// src folder to support multiple project outputs
Target "CopyBinaries" (fun _ ->
- !! "src/**/*.??proj"
+ activeProjects
|> 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))
)
// Build library & test project
Target "Build" (fun _ ->
- let xamarinFilter f =
- if isXamarinPlatform then
- f
- else
- f
- -- "**/OpenTK.Android.csproj"
- -- "**/OpenTK.iOS.csproj"
-
- !! "src/**/*.??proj"
- -- "**/OpenTK.GLWidget.csproj"
- |> xamarinFilter
+ activeProjects
|> MSBuildRelease "" "Rebuild"
|> ignore
)
-type project
+type file
id OpenTK.GLControl
owners
opentk thefiddler
A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.
description
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
- OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
\ No newline at end of file
+ OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
-type project
+type file
id OpenTK.GLWidget
owners
opentk thefiddler
A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.
description
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
- OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
\ No newline at end of file
+ OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
-type project
+type file
id OpenTK.Android
owners
opentk thefiddler
-type project
+type file
id OpenTK
owners
opentk thefiddler
The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.
OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.
files
- OpenTK.dll.config => content/
\ No newline at end of file
+ OpenTK.dll.config => content/
-type project
+type file
id OpenTK.iOS
owners
opentk thefiddler