Updated README.md
Added build instructions
This commit is contained in:
28
README.md
28
README.md
@@ -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
|
||||
Reference in New Issue
Block a user