A true Object-Oriented programming language
- C++ compiler
- Build system generator: cmake
- Package manager: conan
These packages can usually be installed through your distributions package manager.
To build the project, we first need to create a separate build directory and cd
into it:
mkdir build
cd build
Now that we've created our build directory (assuming it's created in the project root), we can install all dependencies with conan
and run cmake
(we need to pass the parent directory path to them, which is where the CMakeLists.txt
file is located):
conan install .. --build=missing
cmake .. -DCMAKE_BUILD_TYPE=Release
Once cmake
is done generating makefiles, we can build the app by running make
inside our build directory:
make
If everything went well with the compilation we can run the executable:
./bin/woden "../examples/hello_world/hello_world.wn"
You can also save the output to a cpp file:
./bin/woden "../examples/hello_world/hello_world.wn" > "../examples/hello_world/hello_world.cpp"
To install the app run:
sudo make install
By default the app will be installed in /usr/local/bin/
directory.
Woden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For more details, see LICENSE file.
Contributions are welcome. If you have a feature request, or have found a bug, feel free to open a new issue. If you wish to contribute code, see CONTRIBUTING.md for more details.