Coder Social home page Coder Social logo

preprocessor's Introduction

Wotscript Scanner and Preprocessor

pipeline status

Details

  • Language C/C++

Goals

  • Ability to read a file and pass it through the WotScipt pipeline
  • Ability for users to define macros

How to compile (Linux)

Premake5:

  1. Download and install premake5, check by typeing premake5 --help in the console
  2. CD into the download directory
  3. Type premake5 gmake2 into the console
  4. If configuration successful, type make -C ./build32 (build64 if 64 bit) or CD into the build directory and type make
  5. The compiled binary should be under the build32(build64 if 64 bit)/bin/Scanner-Preprocessor/Debug(Release)/

CMake:

  1. Install CMake, you'll need at least version 3.8.2 (Ubuntu 18.04 has 3.10.2 in the official repositories)
  2. CD into the repository
  3. Type cmake -H. -Bbuild, you may specify a build system of your own liking, i.e. -GNinja for ninja-build
  4. CD into build and run make, or whatever build system you specified

How to compile (Windows)

Premake5:

  1. Download and install premake5, check by typeing premake5 --help in the console
  2. CD into the download directory
  3. Type premake5 vs2017 (or whatever version of VS you want to use)
  4. Open the build32 (build64 if 64 bit) folder and open the .sln file
  5. Compile using Visual Studio
  6. The compiled binary should be under the build32(build64 if 64 bit)/bin/Scanner-Preprocessor/Debug(Release)/

CMake:

  1. Install and IDE of your choice
  2. Download and install CMake
  3. 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
  4. Configure and Generate the project
  5. Open the project in the IDE of your choice and run build

preprocessor's People

Contributors

jackojc avatar kiroma avatar ralakus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.