Skip to content

peterkennard/artd-build-root

Repository files navigation

This repository is the root of the artd-lib build
and the artd-gpu-engine.

First you clone artd-build-root then ensure ruby and rake are present, and then do: "rake setup"

The build scripts do not work on ruby 3.x.x but require 2.x.x Ruby 2.6.10 is what is installed by default on MacOS Ventura.

Mac

  • You must have homebrew and XCode installed and use the Ruby 2.x.x and rake that comes with the MacOS.
    The default project generator is "Xcode"

Windows ( Currently does not build on Windows )

  • You mush have ruby and rake installed, all the rest is built.
  • default project generator is "Visual Studio 17 2022"

ruby rake Build targets

Run these from this root directory after cloning this root folder.

  • "rake setup" downloads base subdirectories

    • Must be done as a single target on command line ie: "rake setup" NOT "rake setup someOtherTask"
  • "rake vendorLibs" Downloads and builds third party libraries specified by stubs in "third-party"

  • "rake genProject" Generate an IDE or buildable project using CMake

    • Outputs to "./build"
    • vendorLibs is a dependency. ( this will do both )
    • The Cmake generator for creating the project is specified in "./build-scripts/build-options.rb"
  • "rake resources" Copy or generate resources for the apps to the runtime area in ./build/bin

    • outputs to "./build/bin/resources"
  • "rake cleanAll" Delete the build directory, and all the third party library builds.

    • Will NOT delete third party source or library download caches, only the build output

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published