SimpleCBuild --repo=<path/to/repo>
SimpleCBuild --private --repo=<path/to/repo> --token=<OAuthToken>
- Attempts to authenticate the session (if
--privateis passed) - Prompts the user to select a branch to build from.
- Retrieves a list of files from the last commit in that specific branch.
- Parses these files for specific C/C++ build processes and toolchains
- Queries the languages used in the repository to further validate the build system usage, and apply priority to cmake.
-
Prompts the user to select an architecture to build for.
- X64
- ARM64
-
Prompts the user to select an output type.
- Executable
- Shared Library
- Static Library
-
Prompts the user to select a compilation type.
-
- Avoids translation, and attempts to compile a binary using generic build commands.
-
- Will attempt to translate the provided project to CMake then attempt a more nuanced build.
- CMake is the "Gold Standard" for C/C++ projects, it will be the most adventageous target for translation due to its extensive API support; see the CMake Index for more information.
- Handled natively through parsing due to the lack of resources surrounding translation from Meson to CMake. There is functionality in Meson to convert a pre-existing CMake project to Meson, but not vice versa.
-
- Creates a container using docker to prevent a dependency hell.
- Performs a set of build operations within the container, and produces a binary of the selected output type.