Skip to content
forked from psiha/build

A CMake-based cross-platform (Android, iOS, OSX, Windows) build system and utilities.

License

Notifications You must be signed in to change notification settings

microblink/build

 
 

Repository files navigation

Introduction

Reusable components for cross-platform project builds.

Prerequisites

CMake

Tutorial

Standard/common procedure for setting up a project build with CMake

  • Open CMake.
  • Set the source code folder to the "source" folder (the one containing the CMakeLists.txt file).
  • Set the binary folder according to your preference (this is where the platform & IDE specific files will be placed, like Visual Studio solution&project files).
  • Press "Configure".
  • Choose the desired generator (and toolchain file if crosscompiling).
  • Press "Configure".
  • Press "Generate".
  • CMake can (but does not have to) be closed at this point.
  • Open the generated native project using the appropriate IDE.

Standard development environment

  • Tools:
    • CMake (latest/3.5.2)
    • Doxygen (latest/1.8.11)
    • Git
    • TortoiseGit
    • Notepad++ (recommended for editing CMake scripts)
    • supported platforms:
      • Windows - Visual Studio (2015 Update 2)
      • OS X - Xcode ((latest/7.3)
      • iOS - toolchains/ios.readme.txt
      • Android - toolchains/android/readme.txt

Standard release procedure

  1. Make sure you have a clean source tree of the project and all submodules and 3rd party libraries.
  2. Update the product's "Release notes" documentation section with the changes for this version.
  3. Create an appropriate branch/tag for the released version.
  4. Build the "Release" build/version of the "PACKAGE" target.
  5. Test/verify.
  6. Publish.

Related/similar endeavours

About

A CMake-based cross-platform (Android, iOS, OSX, Windows) build system and utilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 93.9%
  • Shell 6.0%
  • HTML 0.1%