Skip to content

Fork of cli from https://git.codesynthesis.com/cgit/cli/cli/, for the purpose of continuing maintenance of autotools build support.

License

Notifications You must be signed in to change notification settings

drok/codesynthesis-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c450d40 · Jan 23, 2023
Aug 31, 2022
Aug 31, 2022
Jan 23, 2023
Jan 23, 2023
Jan 23, 2023
Mar 27, 2020
Jan 23, 2023
Jan 23, 2023
Jan 9, 2023
Jan 23, 2023
Oct 7, 2021
Sep 20, 2021
Jan 23, 2023
Apr 27, 2020
May 23, 2018

Repository files navigation

CLI

CLI is a command line interface compiler for C++.

The development setup for CLI uses two configurations, for example:

git clone .../cli.git
cd cli

bdep init --empty

bdep config create @host ../cli-host --type host cc config.cxx=g++
bdep config create @target ../cli-target cc config.cxx=g++

bdep init @host -d cli
bdep init @target -d cli-tests -d cli-examples

To generate the documentation in the .ps and .pdf formats, html2ps and ps2pdf14 programs are required (the latter is from ghostscript). A warning is issued in the development mode if these programs are not available.

To test installation of the CLI compiler, create a separate target configuration (we must use a non-development build due to the bootstrap process):

bdep config create @install ../cli-install --type target cc config.cxx=g++ \
  config.install.root=/tmp/install

bdep init @install -d cli config.cli.develop=false

b install: ../cli-install/cli/