I want to build and run C++ programs from Nuclide using Buck.
The problem is that I don't know how to setup a simple Buck configuration file in Nuclide to build and then run a .cpp
file.
So does someone have a suggestion?
I want to build and run C++ programs from Nuclide using Buck.
The problem is that I don't know how to setup a simple Buck configuration file in Nuclide to build and then run a .cpp
file.
So does someone have a suggestion?
Building a hello-world program with Buck is very easy. Create the following files in your project directory:
.buckconfig
(can be empty)
main.cpp
:BUCK
Nuclide should find everything for you if you open Atom from your project folder.
To check that every works, run:
That should be enough to get started; further information can be found on the Buck website.