Updated README.md

Added build instructions
This commit is contained in:
Pasha Bibko
2025-07-21 21:27:08 +01:00
parent 0af9688899
commit f5c7ce8557

View File

@@ -1 +1,29 @@
# LXC
LXC is a compiler to compile .lx files into .c files. LX is a custom langauge that I have developed,
the documentation for the language (and compiler) can be found [here WIP](https://www.youtube.com/watch?v=xvFZjo5PgG0).
### Build
```
git clone https://github.com/PashaBibko/LXC.git LXC
cd LXC
mkdir -p build
cd build
cmake ..
cmake --build .
```
##### Windows
The .exe will be located in the LXC/(Debug or Release) folder.
##### UNIX based
The outputted binary will be located in the LXC folder.
##### Other
Operating systems that are not listed above are not supported. To run the code you will have to modify it yourself.
All code that should need to be changed is within the [Common folder](https://github.com/PashaBibko/LXC/tree/main/Common).
https://www.youtube.com/watch?v=Xx-NcqmveDc