Skip to content

A minimal project template for building a C++ application using SerenityOS' Lagom libraries

License

Notifications You must be signed in to change notification settings

caoimhebyrne/cmake-lagom-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake-lagom-template

A minimal project template for building a C++ application using Lagom from SerenityOS.

It also includes some recommended settings (some from SerenityOS' documentation) for Visual Studio Code.

Note It is recommended that you use the clangd extension for Visual Studio Code.

A lot of the default configuration is suited to mimic the SerenityOS coding style, but feel free to change it! :)

Using the template

  1. Clone the repository

    $ git clone git@github.com:caoimhebyrne/cmake-lagom-template.git
  2. Set the SERENITY_SOURCE_DIR environment variable to your local clone of SerenityOS/serenity. (Optional, reduces build time)

    .bashrc/zshrc

    ...
    export SERENITY_SOURCE_DIR=~/path/to/serenity/directory
  3. Replace all instances of cmake_lagom_template with your project's name

  4. Run the Scripts/setup.sh script

    $ Scripts/setup.sh
  5. Build and run your program with the Scripts/build-and-run.sh script!

    $ Scripts/build-and-run.sh

Special thanks

The following repositories and people helped with creating this template:

License

MIT

About

A minimal project template for building a C++ application using SerenityOS' Lagom libraries

Topics

Resources

License

Stars

Watchers

Forks