Code Monkey home page Code Monkey logo

console-command-runner-sf's Introduction

Console Command Runner SF

C++23 Platform Game version Test build

Setup

There are a few housekeeping tasks to do before you get started developing your plugin.

Automatic

A python script, project_setup.py, is provided which automates the steps in the section below (requires Python 3.12+)*. To run the script:

  1. Run cd .\CLibSFPluginTemplate\
  2. Run py .\project_setup.py
  3. Enter your project name (in CamelCase)

*NOTE: If you're using Python 3.11 or below, change onexc=onexc to onerror=onexc in lines 31 and 33 in project_setup.py

Manual

  1. Clone the repository
  2. Set the "name" and "version-semver" fields in vcpkg.json
  3. Update the "baseline" entries to the latest commits in both registries in vcpkg.json
    • Follow the links in the "repository" fields and copy-paste the hash of the latest commit in each repository
  4. Set the name and version of your plugin in CMakeLists.txt
  5. Change "AuthorName" in CMakeLists.txt to your name
  6. Set the name of contrib/Config/PluginName.ini to the name of your plugin
  7. Edit the ini.LoadFile() call in src/Settings.cpp to load the renamed ini from step 6

Building your project

  • Visual Studio should prompt you to generate a CMake cache. Click on Generate and wait
  • One the CMake cache is generated, build your project
  • The .dll and .pdb files will be placed in contrib\PluginRelease or contrib\PluginDebug depending on your build configuration

Build configs

  • Two build configs are provided:
    • Release: Optimized release build, produces small and fast DLLs with associated PDBs
    • Debug: Debug build, produces DLLs and PDBs with full debug info, allowing the use of an interactive debugger

Dependencies

console-command-runner-sf's People

Contributors

bobbyclue avatar github-actions[bot] 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.