Skip to content

jackhumbert/cyberpunk_cmake_mod

Repository files navigation

Cyberpunk CMake Mod Template

This repo demonstrates the full capabilities of Cyberpunk CMake - a collection of CMake scripts & tools to aid in Cyberpunk 2077 mod creation.

Features of this particular repo:

See the Cyberpunk CMake repo for full toolset features

Usage

  1. Click "Use this template" on the Github page to create a new repo that uses this as the base.
  2. Recursively clone the repo with git clone --recurse-submodules <repo> - this will clone the cyberpunk_cmake repo, along with the RED4ext.SDK (currently Jack's branch)
  3. Open the cyberpunk_cmake_mod.code-workspace file (or rename it first) in VS Code
  4. Install the recommended extensions, as well as redscript-ide-vscode from the .vsix
  5. Click the CMake icon on the left side (you can drag this to be in the same panel as your file explorer to access it more easily)
  6. Customize the project via CMakeLists.txt
  7. Configure the project in one of the following ways:
    • Click the "Configure All Projects" at the top of the CMake panel
    • Run the "Configure" task
    • Run cmake -B build in the terminal
    • Save the CMakeLists.txt to automatically trigger a reconfigure
  8. Build the project in one of the following ways:
    • Click the "Build" button next to the ALL_BUILD or project_slug targets to build the entire project (or select a particular target to build just that and its dependencies)
    • Run the "Build" task
    • Run cmake --build build
      • cmake --build build --target <target> can be used to specify a target
  9. Commit & push your changes to your Github repo, and a CI build will be triggered, where a zip of the game_dir will be available for you to download

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published