Skip to content

Eshanatnight/plus

Repository files navigation

Plus

A Small Utility App For C/CPP and CMake users.

Prerequisites

Building with cmake and vcpkg

    git clone https://github.com/Eshanatnight/plus.git
    cd plus
    mkdir build
    cd build
    cmake -DCMAKE_TOOLCHAIN_FILE="<path>/<to>/<vcpkg>/scripts/buildsystems/vcpkg.cmake" -DCMAKE_BUILD_TYPE=Release -G<generator> -S.. -B .

If MSVC

    cmake --build . --config Release

Building with Premake

Download the premake5 executable. Then use

    premake5 <generator>

Using Other Compilers to Build

As of the current MSVC 26.05.22, Currently for full support for std::ranges we need to use /std:c++latest which is directly not accessible from cmake.

For MSVC we have to set the standard to 23. (This is reflected in the CMakeLists.txt file) Other compilers might need to modify the CMakeLists.txt file to set the standard to the latest or even the latest c++20.

More Information here


Useage and Keyword Lookup

Keyword Command
plus init Initialize a project repository in the current path
plus new "Project_Name" Create a new Project in a new directory in the curent path
plus help Show this help message

Features

  • Initialize a git repository
  • add a .gitignore file
  • add a .gitattribute file
  • add a CMakeLists.txt file
  • create an output directory

Libs

Todo