-
-
Notifications
You must be signed in to change notification settings - Fork 36
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.
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.
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.
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.