View Code? Open in Web Editor
NEW
The preprocessor for Watt
License: MIT License
CMake 4.91%
Lua 9.42%
C++ 85.67%
preprocessor's Introduction
Wotscript Scanner and Preprocessor
![pipeline status](https://camo.githubusercontent.com/147125801766e683fd6e665ae5f67042ca0417f1c3ad11026d3e70027a66af60/68747470733a2f2f6769746c61622e636f6d2f576f745363726970742f576f745363726970742d7363616e6e65722d70726570726f63636573736f722f6261646765732f6d61737465722f706970656c696e652e737667)
- Ability to read a file and pass it through the WotScipt pipeline
- Ability for users to define macros
- Download and install premake5, check by typeing
premake5 --help
in the console
- CD into the download directory
- Type
premake5 gmake2
into the console
- If configuration successful, type
make -C ./build32
(build64 if 64 bit) or CD into the build directory and type make
- The compiled binary should be under the build32(build64 if 64 bit)/bin/Scanner-Preprocessor/Debug(Release)/
- Install CMake, you'll need at least version 3.8.2 (Ubuntu 18.04 has 3.10.2 in the official repositories)
- CD into the repository
- Type
cmake -H. -Bbuild
, you may specify a build system of your own liking, i.e. -GNinja
for ninja-build
- CD into build and run
make
, or whatever build system you specified
- Download and install premake5, check by typeing
premake5 --help
in the console
- CD into the download directory
- Type
premake5 vs2017
(or whatever version of VS you want to use)
- Open the build32 (build64 if 64 bit) folder and open the .sln file
- Compile using Visual Studio
- The compiled binary should be under the build32(build64 if 64 bit)/bin/Scanner-Preprocessor/Debug(Release)/
- Install and IDE of your choice
- Download and install CMake
- Open up CMake, type in the path to repository in the top input box, point it to a preferably empty directory in where to build binaries
- Configure and Generate the project
- Open the project in the IDE of your choice and run build
preprocessor's People
Stargazers
Watchers