CMake Build Options - Teknomancer/beezer GitHub Wiki

These may be set on the cmake command line or with one of the cmake frontend tools included with cmake(ccmake or cmake-gui)

  • cmake -G Ninja ....

    Generate ninja build files instead of Makefiles. ninja is usually significantly faster than make at building and rebuilding.

  • CMAKE_BUILD_TYPE

    Set to Debug in order to generate binaries with debugging symbols.

  • HAIKU_ENABLE_I18N

    Enable language translation support. See the Translating & Localizing page.

  • USE_CLANG

    Set to ON in order to build with clang instead of gcc.

  • HAIKU_ENABLE_TARGET_ATTRS

    Set to OFF to disable all BFS attribute tagging.

    • BEEZER_EXE_ATTR_HOST

      Adds the host Haiku version when enabled.

    • BEEZER_EXE_ATTR_GIT

      Adds the git working directory state when enabled.

    • BEEZER_OVERRIDE_ATTR_GIT

      Override the attribute when the git command isn't available or the source is being built without its original commit history(like a haikuports recipe)