Skip to content

When to use every option

Zeioth edited this page Mar 1, 2024 · 16 revisions

In this section I describe in which situation you should use every option of the compiler.

Basic usage

Build and run program, Build program and Run program are meant to be used when you are just testing the compiler, or creating your own project. It uses the default entry_point and output specified by the code conventions of your current filetype.

Solution usage

Build solution is the option you use to tell Compiler.nvim the entry_point and output of your program (or many programs). You can do it by creating a .solution.toml file in your working directory. See here.

Build automation utilities usage

Instead of using a .solution.toml file, you can use make, cmake, gradle or any other build automation utility to compile and run your code. See here.

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy