# buildCentral **Repository Path**: pancus/buildCentral ## Basic Information - **Project Name**: buildCentral - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2023-10-07 - **Last Updated**: 2023-10-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README buildCentral - tool for software package management ==================================================== Features ========= - Manage dependence between SW packages - Setup build environment for SW package - Configure and manage build options - Support native-compilation and cross-compilation Platforms Supported ==================== - Windows - Ubuntu Dependence =========== - Python Install ======== 1) Install python 2) Install python package: pip install networkx pip install simplejson Usage ====== Build example 1: host - Ubuntu; target - Ubuntu ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > ./mk -thost -o project/build/opt-xxx.cfg 2) Binaries and headers are installed at output/stage/host/ Build example 2: host - Ubuntu; target - ARM Linux (toolchain for ARM Linux shall be installed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > ./mk -tarm-linux -o project/build/opt-xxx.cfg 2) Binaries and headers are installed at output/stage/arm-linux/ Build example 3: host - Windows; target - Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > make sure Microsoft Visual Studio is installed 2) > mk -thost -g vs16 -o project\build\opt-xxx.cfg 3) All visual Studio solutions are located at output\build\default\ 4) Open the solutions and build in the following order: protobuf/ -> fdbus/ -> protobus/ Build example 4: List all supported packages ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > mk -thost -l Build example 5: Build specific packages (doesn't build dependences) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > mk -thost package1[,package2...] Build example 6: Build specific packages after building all dependences ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > mk -thost -a package1[,package2...] Build example 7: List specific packages with their dependences ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > mk -thost -la package1[,package2...] Build example 8: Clean before building specific packages ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > mk -thost -cb package1[,package2...] Build example 9: Build for debug ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1) > mk -thost -d package1[,package2...] Note that "project/build/opt-xxx.cfg" specify the build option file. The file name explicitly interpret its purpose.