migrate
This commit is contained in:
@@ -1,67 +1,10 @@
|
||||
FileVersion = 1
|
||||
Dependencies = {corlib = "*", "Clang-C.git" = "*", "Cpp2Beef.git" = {Git = "https://git.unicon-gmbh.de/BeefBindings/Cpp2Beef.git"}}
|
||||
|
||||
[Project]
|
||||
Name = "Glfw.Setup"
|
||||
StartupObject = "Glfw.Setup.Program"
|
||||
DefaultNamespace = "Glfw.Setup"
|
||||
|
||||
[Configs.Debug.Win32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Debug.Win64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Debug.Linux32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Debug.Linux64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Debug.macOS]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Release.Win32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Release.Win64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Release.Linux32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Release.Linux64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Release.macOS]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Paranoid.Win32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Paranoid.Win64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Paranoid.Linux32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Paranoid.Linux64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Paranoid.macOS]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Test.Win32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Test.Win64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Test.Linux32]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Test.Linux64]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
|
||||
[Configs.Test.macOS]
|
||||
PreBuildCmds = ["cp $(ProjectDir Cpp2Beef.git)/CxxBuilder/dist/CxxBuilderPath.txt ../CxxBuilderPath.txt"]
|
||||
[Dependencies]
|
||||
corlib = "*"
|
||||
"Clang-C.git" = "*"
|
||||
"Cpp2Beef.git" = {Git = "https://git.unicon-gmbh.de/Rune/Cpp2Beef.git"}
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
FileVersion = 1
|
||||
Projects = {"Glfw.Setup" = {Path = "."}, "Cpp2Beef.git" = {Git = "https://git.unicon-gmbh.de/BeefBindings/Cpp2Beef.git"}}
|
||||
ExtraPlatforms = ["Linux32", "Linux64", "macOS"]
|
||||
|
||||
[Workspace]
|
||||
StartupProject = "Glfw.Setup"
|
||||
|
||||
[Projects]
|
||||
"Glfw.Setup" = {Path = "."}
|
||||
"Cpp2Beef.git" = {Git = "https://git.unicon-gmbh.de/Rune/Cpp2Beef.git"}
|
||||
|
||||
@@ -21,23 +21,6 @@ class GlfwGenerator : Cpp2BeefGenerator, this(Span<char8*> args)
|
||||
|
||||
namespace Glfw;
|
||||
|
||||
static class Glfw
|
||||
{
|
||||
public struct Bool : c_int
|
||||
{
|
||||
public static operator Self(bool b) => b ? True : False;
|
||||
public static operator bool(Self b) => b != False;
|
||||
}
|
||||
|
||||
// Vulkan
|
||||
public typealias PFN_vkGetInstanceProcAddr = void*;
|
||||
public struct VkInstance : int;
|
||||
public struct VkPhysicalDevice : int;
|
||||
public typealias VkResult = c_int;
|
||||
public struct VkAllocationCallbacks;
|
||||
public struct VkSurfaceKHR : uint64;
|
||||
}
|
||||
|
||||
|
||||
""") ~ delete _;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user